diff Agent.h @ 14:f1252b6a7cf5

More debug output, and a minor fix
author Chris Cannam
date Fri, 07 Oct 2011 14:07:42 +0100
parents 59520cd6abac
children 887c629502a9
line wrap: on
line diff
--- a/Agent.h	Thu Oct 06 18:37:50 2011 +0100
+++ b/Agent.h	Fri Oct 07 14:07:42 2011 +0100
@@ -138,7 +138,7 @@
 
     Agent clone() const {
         Agent a(*this);
-        a.idCounter++;
+        a.idNumber = idCounter++;
         return a;
     }