Changeset 7082 in orxonox.OLD
- Timestamp:
- Feb 7, 2006, 4:32:14 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/multi_player_world_data.cc
r7078 r7082 202 202 { 203 203 this->localPlayer = new Player(); 204 State::setPlayer(this->localPlayer);205 204 206 205 Playable* playable; … … 221 220 /* create a Player */ 222 221 this->localPlayer = new Player(); 223 State::setPlayer(this->localPlayer);224 222 } 225 223 … … 228 226 PNode::getNullParent()->init(); 229 227 } 228 State::setPlayer(this->localPlayer); 230 229 } 231 230 -
trunk/src/util/multiplayer_team_deathmatch.cc
r7080 r7082 43 43 this->bLocalPlayerDead = false; 44 44 this->deathTimeout = 10.0f; // 5 seconds 45 this->timeout = 0.0f; 45 46 46 47 this->deathScreen = new Billboard(); -
trunk/src/world_entities/playable.cc
r7079 r7082 148 148 State::getGameRules()->onPlayerSpawn(); 149 149 150 this->setAbsCoor(0.0, 0.0, 0.0); 151 152 if( this->getOwner()%2 == 0) 150 if( this->getOwner() % 2 == 0) 151 { 153 152 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 } 154 156 else 157 { 155 158 this->toList(OM_GROUP_01); 159 this->toList(OM_GROUP_01); 160 this->setAbsCoor(-314.450, 40.701, 83.554); 161 } 156 162 } 157 163
Note: See TracChangeset
for help on using the changeset viewer.