diff --git a/source/glest_game/world/map.cpp b/source/glest_game/world/map.cpp index 042ddaf6..a8090d69 100644 --- a/source/glest_game/world/map.cpp +++ b/source/glest_game/world/map.cpp @@ -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();