[Avida-cvs] [avida-svn] r427 - development/source/event
brysonda@myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Thu Dec 22 08:57:25 PST 2005
Author: brysonda
Date: 2005-12-22 11:57:25 -0500 (Thu, 22 Dec 2005)
New Revision: 427
Modified:
development/source/event/cEventManager.cc
Log:
Fix cEvent_exit so that it properly stores the world object pointer on initialization.
Modified: development/source/event/cEventManager.cc
===================================================================
--- development/source/event/cEventManager.cc 2005-12-22 00:46:26 UTC (rev 426)
+++ development/source/event/cEventManager.cc 2005-12-22 16:57:25 UTC (rev 427)
@@ -44,7 +44,7 @@
const cString GetName() const { return "exit"; }
const cString GetDescription() const { return "exit"; }
- void Configure(cWorld* world, const cString& in_args) { ; }
+ void Configure(cWorld* world, const cString& in_args) { m_world = world; }
void Process(){
m_world->GetDriver().SetDone();
}
More information about the Avida-cvs
mailing list