Changeset 10727 for code/trunk/src/modules/towerdefense
- Timestamp:
- Oct 31, 2015, 11:06:37 AM (9 years ago)
- Location:
- code/trunk/src/modules/towerdefense
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/towerdefense/TowerDefense.cc
r10629 r10727 331 331 timeSinceLastSpawn_ = 0.0; 332 332 333 timeUntilNextWave_ = waveNumber_+20 ;333 timeUntilNextWave_ = waveNumber_+20.0f; 334 334 waveSize_ = waveNumber_+5; 335 335 } -
code/trunk/src/modules/towerdefense/TowerDefenseTower.cc
r10629 r10727 63 63 float reloadrate = getReloadRate(); 64 64 float reloadwaittime = getReloadWaitTime(); 65 this->setDamageMultiplier((upgrade+1)*2 );65 this->setDamageMultiplier((upgrade+1)*2.0f); 66 66 //this->setRotationThrust(2*this->getRotationThrust()); 67 67 reloadrate = 0.5f*reloadrate;
Note: See TracChangeset
for help on using the changeset viewer.