- used wrong enum value

This commit is contained in:
Mark Vejvoda 2010-12-19 02:06:24 +00:00
parent 5c0ebc04b1
commit 3e83cb54f7
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ void Map::putUnitCells(Unit *unit, const Vec2i &pos) {
getCell(currPos)->getUnit(unit->getCurrField()) != unit) {
if(unit->getCurrSkill() != NULL &&
unit->getCurrSkill()->getClass() == ccMove) {
unit->getCurrSkill()->getClass() == scMove) {
canPutInCell = false;
unit->setCurrSkill(scStop);
unit->finishCommand();