Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Feb 2, 2006, 6:24:50 PM (19 years ago)
Author:
bensch
Message:

trunk: some minor fixes

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

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

    r6986 r6987  
    162162  if (this->currentPlayer != NULL && player != NULL)
    163163  {
    164     printf("No Change in Playable\n");
    165164    return false;
    166165  }
     
    169168  if (this->currentPlayer != NULL && player == NULL)
    170169  {
    171     PRINTF(0)("Player gets ejected\n");
     170    PRINTF(4)("Player gets ejected\n");
    172171
    173172    // unsubscibe all events.
     
    192191  if (this->currentPlayer == NULL && player != NULL)
    193192  {
    194     PRINTF(0)("New Player gets inside\n");
     193    PRINTF(4)("New Player gets inside\n");
    195194    this->currentPlayer = player;
    196195    if (this->currentPlayer->getPlayable() != this)
     
    207206  }
    208207
    209   printf("none\n");
    210208  return false;
    211209}
  • trunk/src/world_entities/player.cc

    r6986 r6987  
    6161  if (this->playable != NULL)
    6262  {
    63     printf("Player gets ejected from Playable\n");
     63    PRINTF(4)("Player gets ejected from Playable\n");
    6464    this->hud.setEnergyWidget(NULL);
    6565    this->hud.setWeaponManager(NULL);
     
    7373  if (playable != NULL)
    7474  {
    75     printf("Enter new Playable\n");
     75    PRINTF(4)("Enter new Playable\n");
    7676      this->playable = playable;
    7777      this->hud.setEnergyWidget(this->playable->getHealthWidget());
     
    8282  }
    8383
    84   printf("no change\n");
    8584  return true;
    8685}
Note: See TracChangeset for help on using the changeset viewer.