diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index cb744200c..a0dbe23cb 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -1240,8 +1240,8 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CGPath path ) boost::unique_lock un(stillMoveHero.mx); stillMoveHero.data = CONTINUE_MOVE; - enum ETerrainType currentTerrain = ETerrainType::BORDER; // not init yet - enum ETerrainType newTerrain; + ETerrainType currentTerrain = ETerrainType::BORDER; // not init yet + ETerrainType newTerrain; int sh = -1; const TerrainTile * curTile = cb->getTile(CGHeroInstance::convertPosition(h->pos, false));