Changeset 6985 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Feb 2, 2006, 4:09:46 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r6984 r6985 230 230 { 231 231 playable = dynamic_cast<Playable*>(playableList->front()); 232 this->localPlayer->set Controllable(playable);232 this->localPlayer->setPlayable(playable); 233 233 } 234 234 -
trunk/src/story_entities/multi_player_world_data.cc
r6634 r6985 179 179 { 180 180 playable = dynamic_cast<Playable*>(playableList->front()); 181 this->localPlayer->set Controllable(playable);181 this->localPlayer->setPlayable(playable); 182 182 } 183 183 } … … 250 250 { 251 251 playable = dynamic_cast<Playable*>(playableList->front()); 252 this->localPlayer->disconnect Controllable();253 this->localPlayer->set Controllable(playable);252 this->localPlayer->disconnectPlayable(); 253 this->localPlayer->setPlayable(playable); 254 254 this->toggle = !this->toggle; 255 255 } … … 257 257 { 258 258 playable = dynamic_cast<Playable*>(playableList->back()); 259 this->localPlayer->disconnect Controllable();260 this->localPlayer->set Controllable(playable);259 this->localPlayer->disconnectPlayable(); 260 this->localPlayer->setPlayable(playable); 261 261 this->toggle = !this->toggle; 262 262 } 263 263 264 264 265 Playable* pl = this->localPlayer->get Controllable();265 Playable* pl = this->localPlayer->getPlayable(); 266 266 PRINTF(0)("The current regisered playable is hid: %i\n", pl->getUniqueID()); 267 267
Note: See TracChangeset
for help on using the changeset viewer.