Changeset 6987 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 2, 2006, 6:24:50 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r6986 r6987 162 162 if (this->currentPlayer != NULL && player != NULL) 163 163 { 164 printf("No Change in Playable\n");165 164 return false; 166 165 } … … 169 168 if (this->currentPlayer != NULL && player == NULL) 170 169 { 171 PRINTF( 0)("Player gets ejected\n");170 PRINTF(4)("Player gets ejected\n"); 172 171 173 172 // unsubscibe all events. … … 192 191 if (this->currentPlayer == NULL && player != NULL) 193 192 { 194 PRINTF( 0)("New Player gets inside\n");193 PRINTF(4)("New Player gets inside\n"); 195 194 this->currentPlayer = player; 196 195 if (this->currentPlayer->getPlayable() != this) … … 207 206 } 208 207 209 printf("none\n");210 208 return false; 211 209 } -
trunk/src/world_entities/player.cc
r6986 r6987 61 61 if (this->playable != NULL) 62 62 { 63 printf("Player gets ejected from Playable\n");63 PRINTF(4)("Player gets ejected from Playable\n"); 64 64 this->hud.setEnergyWidget(NULL); 65 65 this->hud.setWeaponManager(NULL); … … 73 73 if (playable != NULL) 74 74 { 75 printf("Enter new Playable\n");75 PRINTF(4)("Enter new Playable\n"); 76 76 this->playable = playable; 77 77 this->hud.setEnergyWidget(this->playable->getHealthWidget()); … … 82 82 } 83 83 84 printf("no change\n");85 84 return true; 86 85 }
Note: See TracChangeset
for help on using the changeset viewer.