mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Replaced Terrain::BORDER and WRONG with NONE
This commit is contained in:
@ -2372,7 +2372,7 @@ void CPlayerInterface::doMoveHero(const CGHeroInstance * h, CGPath path)
|
||||
for (auto & elem : path.nodes)
|
||||
elem.coord = h->convertFromVisitablePos(elem.coord);
|
||||
|
||||
TerrainId currentTerrain = ETerrainId::BORDER; // not init yet
|
||||
TerrainId currentTerrain = ETerrainId::NONE;
|
||||
TerrainId newTerrain;
|
||||
bool wasOnRoad = true;
|
||||
int sh = -1;
|
||||
|
Reference in New Issue
Block a user