Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9270


Ignore:
Timestamp:
Jun 3, 2012, 4:56:07 PM (12 years ago)
Author:
landauf
Message:

fixed warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/towerdefense/TowerDefense.cc

    r9245 r9270  
    192192                newTower->addTemplate(this->center_->getTowerTemplate());
    193193
    194                 newTower->setPosition((x-8) * tileScale, (y-8) * tileScale, 75);
     194                newTower->setPosition(static_cast<float>((x-8) * tileScale), static_cast<float>((y-8) * tileScale), 75);
    195195                newTower->setGame(this);
    196196        }
Note: See TracChangeset for help on using the changeset viewer.