Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9138 in orxonox.OLD for branches/presentation/src


Ignore:
Timestamp:
Jul 4, 2006, 2:56:01 PM (18 years ago)
Author:
rennerc
Message:

fixed bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/playable.cc

    r9126 r9138  
    391391  PRINTF(0)("Playable respawn\n");
    392392  // only if this is the spaceship of the player
    393   if( this == State::getPlayer()->getPlayable())
     393  if( State::getGameRules() && State::getPlayer() && this == State::getPlayer()->getPlayable())
    394394    State::getGameRules()->onPlayerSpawn();
    395395
Note: See TracChangeset for help on using the changeset viewer.