- Timestamp:
- Dec 24, 2009, 8:49:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/gamestates/GSRoot.cc
r6387 r6408 91 91 { 92 92 for (ObjectList<Timer>::iterator it = ObjectList<Timer>::begin(); it; ) 93 (it++)->tick(time); 93 { 94 Timer* object = *it; 95 ++it; 96 object->tick(time); 97 } 94 98 95 99 /*** HACK *** HACK ***/ … … 101 105 leveldt = 0.0f; 102 106 } 107 float realdt = leveldt * TimeFactorListener::getTimeFactor(); 103 108 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ) 104 (it++)->tick(leveldt * TimeFactorListener::getTimeFactor()); 109 { 110 Tickable* object = *it; 111 ++it; 112 object->tick(realdt); 113 } 105 114 /*** HACK *** HACK ***/ 106 115 }
Note: See TracChangeset
for help on using the changeset viewer.