1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed CID 1197622.

* Coverity says that this line actually unreachable
This commit is contained in:
AlexVinS 2016-12-05 03:02:52 +03:00
parent 478890df5f
commit 4288bb88ae

View File

@ -3427,10 +3427,6 @@ For ship construction etc, another function (goal?) is needed
{
return findFirstVisitableTile(h, dst);
}
//FIXME: find out why this line is reached
logAi->errorStream() << ("Impossible happened at SectorMap::firstTileToGet");
return ret;
}
int3 SectorMap::findFirstVisitableTile (HeroPtr h, crint3 dst)