From ac742affe5633f8791af7a34ff253471b1b963b9 Mon Sep 17 00:00:00 2001 From: DjWarmonger Date: Wed, 13 Feb 2013 07:22:55 +0000 Subject: [PATCH] Compile fix --- client/CPlayerInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));