Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 291 for code


Ignore:
Timestamp:
Nov 28, 2007, 12:08:40 AM (17 years ago)
Author:
rgrieder
Message:
  • fixed a minor bug with string —> string& conversion (illegal with gcc)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto_vs05/src/run_manager.cc

    r288 r291  
    233233
    234234    // Update the HUD
    235     hud_->setDebugText(" | Speed = "
     235    Ogre::String tempStr = " | Speed = "
    236236      + StringConverter::toString(playerShip_->getSpeed())
    237237      + " | Left Ammo = "
     
    239239      ->getMainWeapon()->getAmmoState())
    240240      + " | Ammo stock = "
    241       + StringConverter::toString(playerShip_->getAmmoStock()));
     241      + StringConverter::toString(playerShip_->getAmmoStock());
     242    hud_->setDebugText(tempStr);
    242243
    243244    hud_->tick(time, deltaTime);
Note: See TracChangeset for help on using the changeset viewer.