Changeset 9270 for code/branches/presentation2012merge/src
- Timestamp:
- Jun 3, 2012, 4:56:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/towerdefense/TowerDefense.cc
r9245 r9270 192 192 newTower->addTemplate(this->center_->getTowerTemplate()); 193 193 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); 195 195 newTower->setGame(this); 196 196 }
Note: See TracChangeset
for help on using the changeset viewer.