Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5051 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Aug 16, 2005, 10:24:29 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: nice update-function proposed by patrick now in world::init()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r5049 r5051  
    632632  this->bPause = false;
    633633  this->pilotNode = NULL;
     634
     635  /* update the object position before game start - so there are no wrong coordinates used in the first processing */
     636  NullParent::getInstance()->update (0.001f);
     637  NullParent::getInstance()->update (0.001f);
    634638}
    635639
     
    749753  this->lastFrame = SDL_GetTicks ();
    750754  PRINTF(3)("World::mainLoop() - Entering main loop\n");
    751   /* update the object position before game start - so there are no wrong coordinates used in the first processing */
    752   NullParent::getInstance()->update (0.001f);
    753755
    754756  while( !this->bQuitOrxonox && !this->bQuitCurrentGame) /* @todo implement pause */
Note: See TracChangeset for help on using the changeset viewer.