Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 30, 2007, 11:14:26 PM (18 years ago)
Author:
patrick
Message:

tried fixing the segfault on tardis, emitter mount point attach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r10515 r10523  
    591591{
    592592  CameraMan* man = State::getCameraman();
    593   man->getCurrentCam()->apply ();
    594   man->getCurrentCam()->project ();
     593  Camera* c = man->getCurrentCam();
     594  if( c != NULL)
     595  {
     596    c->apply ();
     597    c->project ();
     598  }
    595599  GraphicsEngine::storeMatrices();
    596600}
Note: See TracChangeset for help on using the changeset viewer.