From 95bec9893641146883713a3344ee97ef04a0d940 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Thu, 19 Apr 2018 15:07:21 +0200 Subject: [PATCH] lib/rmg/CRmgTemplateZone.cpp: Remove a variable that was introduced in 2016 but never used --- lib/rmg/CRmgTemplateZone.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rmg/CRmgTemplateZone.cpp b/lib/rmg/CRmgTemplateZone.cpp index 7e21db5be..d86c821ff 100644 --- a/lib/rmg/CRmgTemplateZone.cpp +++ b/lib/rmg/CRmgTemplateZone.cpp @@ -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