Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 292


Ignore:
Timestamp:
Nov 28, 2007, 12:09:44 AM (17 years ago)
Author:
rgrieder
Message:
  • fixed issue with string —> string& conversion
File:
1 edited

Legend:

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

    r289 r292  
    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.