Changeset 2299 for code/branches/physics/src
- Timestamp:
- Nov 30, 2008, 12:29:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/gamestates/GSGraphics.cc
r2103 r2299 244 244 /*** HACK *** HACK ***/ 245 245 // Call the Tickable objects 246 float leveldt = dt; 247 if (dt > 1.0f) 248 { 249 // just loaded 250 leveldt = 0.0f; 251 } 246 252 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it) 247 it->tick( time.getDeltaTime());253 it->tick(leveldt); 248 254 /*** HACK *** HACK ***/ 249 255
Note: See TracChangeset
for help on using the changeset viewer.