Changeset 5785 for code/branches/core5/src/modules
- Timestamp:
- Sep 25, 2009, 12:54:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/gamestates/GSRoot.cc
r5738 r5785 111 111 } 112 112 113 for (ObjectList<TimerBase>::iterator it = ObjectList<TimerBase>::begin(); it; ++it)114 it->tick(time);113 for (ObjectList<TimerBase>::iterator it = ObjectList<TimerBase>::begin(); it; ) 114 (it++)->tick(time); 115 115 116 116 /*** HACK *** HACK ***/ … … 122 122 leveldt = 0.0f; 123 123 } 124 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)125 it->tick(leveldt * this->timeFactor_);124 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ) 125 (it++)->tick(leveldt * this->timeFactor_); 126 126 /*** HACK *** HACK ***/ 127 127 }
Note: See TracChangeset
for help on using the changeset viewer.