mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Unused variable
This commit is contained in:
parent
7cb17afe7a
commit
21bb61fc4d
@ -103,7 +103,7 @@ bool RoadPlacer::createRoad(const int3 & dst)
|
||||
auto res = path.search(dst, true, simpleRoutig);
|
||||
if(!res.valid())
|
||||
{
|
||||
auto desperateRoutig = [this, &border, &VISITABLE_PENALTY](const int3& src, const int3& dst) -> float
|
||||
auto desperateRoutig = [this, &VISITABLE_PENALTY](const int3& src, const int3& dst) -> float
|
||||
{
|
||||
//Do not allow connections straight up through object not visitable from top
|
||||
if(std::abs((src - dst).y) == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user