mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
lib/rmg/CRmgTemplateZone.cpp: Remove a variable that was introduced in 2016 but never used
This commit is contained in:
parent
56fefca806
commit
95bec98936
@ -597,7 +597,6 @@ bool CRmgTemplateZone::createRoad(const int3& src, const int3& dst)
|
||||
if (distance < bestDistanceSoFar)
|
||||
{
|
||||
auto tile = &gen->map->getTile(pos);
|
||||
auto obj = tile->topVisitableObj();
|
||||
bool canMoveBetween = gen->map->canMoveBetween(currentNode, pos);
|
||||
|
||||
if ((gen->isFree(pos) && gen->isFree(currentNode)) //empty path
|
||||
|
Loading…
Reference in New Issue
Block a user