Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7082 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Feb 7, 2006, 4:32:14 PM (19 years ago)
Author:
patrick
Message:

trunk: respawn and death patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.cc

    r7079 r7082  
    148148    State::getGameRules()->onPlayerSpawn();
    149149
    150   this->setAbsCoor(0.0, 0.0, 0.0);
    151 
    152   if( this->getOwner()%2 == 0)
     150  if( this->getOwner() % 2 == 0)
     151  {
    153152    this->toList(OM_GROUP_00);
     153    this->setAbsCoor(213.37, 57.71, -47.98);
     154    this->setAbsDir(Quaternion(0.16, 0.98, -0.10));
     155  }
    154156  else
     157  {
    155158    this->toList(OM_GROUP_01);
     159    this->toList(OM_GROUP_01);
     160    this->setAbsCoor(-314.450, 40.701, 83.554);
     161  }
    156162}
    157163
Note: See TracChangeset for help on using the changeset viewer.