[Avida-SVN] r3101 - branches/hjg-dev/source/cpu

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Sun Jan 11 09:36:58 PST 2009


Author: hjg
Date: 2009-01-11 12:36:58 -0500 (Sun, 11 Jan 2009)
New Revision: 3101

Modified:
   branches/hjg-dev/source/cpu/cHardwareCPU.cc
Log:
Modified code to enable direct reciprocity to work with the string donation setup.

Modified: branches/hjg-dev/source/cpu/cHardwareCPU.cc
===================================================================
--- branches/hjg-dev/source/cpu/cHardwareCPU.cc	2009-01-11 02:36:00 UTC (rev 3100)
+++ branches/hjg-dev/source/cpu/cHardwareCPU.cc	2009-01-11 17:36:58 UTC (rev 3101)
@@ -6987,7 +6987,7 @@
 		// check if the neighbor was a donor
 		if (organism->IsDonor(neighbor->GetID())) {
 			m_world->GetStats().IncDonateToDonor();
-			Inst_DonateFacingRawMaterialsOneType(ctx);	
+			Inst_DonateFacingRawMaterialsOtherSpecies(ctx);	
 		}
 	}
 	return true;




More information about the Avida-cvs mailing list