Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9167


Ignore:
Timestamp:
May 11, 2012, 1:17:00 PM (13 years ago)
Author:
weigeltm
Message:

small refactor (ridiculously small (really))

Location:
code/branches/newlevel2012
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9161 r9167  
    4141
    4242
    43 <!-- Template for a tower -->
     43<!-- Template for a tower       EDIT: new towertemplate is included with "templates/tower" -->
    4444<!--Template name=towertemplate>
    4545  <Tower>
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc

    r9160 r9167  
    170170                }
    171171               
    172                 coordinate newTowerCooridnates;
    173                 newTowerCooridnates.x = x; newTowerCooridnates.y = y;
    174                 addedTowersCoordinates_.push_back(newTowerCooridnates);
     172                coordinate newTowerCoordinates;
     173                newTowerCoordinates.x = x; newTowerCoordinates.y = y;
     174                addedTowersCoordinates_.push_back(newTowerCoordinates);
    175175               
    176176                unsigned int width = this->center_->getWidth();
Note: See TracChangeset for help on using the changeset viewer.