Changeset 1608 for code/trunk/src/orxonox/Orxonox.cc
- Timestamp:
- Jun 17, 2008, 3:33:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/Orxonox.cc
r1577 r1608 72 72 #include "console/InGameConsole.h" 73 73 #include "objects/Tickable.h" 74 #include "objects/Backlight.h" 74 75 #include "tools/ParticleInterface.h" 75 76 … … 169 170 float change = factor / Orxonox::getSingleton()->getTimeFactor(); 170 171 Orxonox::getSingleton()->timefactor_ = factor; 171 172 172 for (Iterator<ParticleInterface> it = ObjectList<ParticleInterface>::begin(); it; ++it) 173 173 it->setSpeedFactor(it->getSpeedFactor() * change); 174 175 for (Iterator<Backlight> it = ObjectList<Backlight>::begin(); it; ++it) 176 it->setTimeFactor(Orxonox::getSingleton()->getTimeFactor()); 174 177 } 175 178
Note: See TracChangeset
for help on using the changeset viewer.