[Avida-SVN] r2509 - branches/jobScheduling/source/actions
beckma24 at myxo.css.msu.edu
beckma24 at myxo.css.msu.edu
Tue Apr 1 09:53:42 PDT 2008
Author: beckma24
Date: 2008-04-01 12:53:42 -0400 (Tue, 01 Apr 2008)
New Revision: 2509
Modified:
branches/jobScheduling/source/actions/EnvironmentActions.cc
Log:
Oops
Modified: branches/jobScheduling/source/actions/EnvironmentActions.cc
===================================================================
--- branches/jobScheduling/source/actions/EnvironmentActions.cc 2008-04-01 16:51:24 UTC (rev 2508)
+++ branches/jobScheduling/source/actions/EnvironmentActions.cc 2008-04-01 16:53:42 UTC (rev 2509)
@@ -746,7 +746,7 @@
if (largs.GetSize()) m_delay = largs.PopWord().AsInt();
if (largs.GetSize()) m_duration = largs.PopWord().AsInt();
if (largs.GetSize()) m_static_position = static_cast<bool>(largs.PopWord().AsInt());
- if (largs.GetSize()) m_total_events = static_cast<bool>(largs.PopWord().AsInt());
+ if (largs.GetSize()) m_total_events = largs.PopWord().AsInt();
}
static const cString GetDescription() { return "Arguments: <int x1> <int y1> <int x2> <int y2> <int delay> <int duraion> <bool static_position> <int total_events>"; }
More information about the Avida-cvs
mailing list