From e68b1359d8cf5810cebce4a0a0030f7c69f69ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Sat, 19 Jun 2021 20:15:32 +0200 Subject: [PATCH] fixing unused warning --- sources/Map/LuaMap.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/sources/Map/LuaMap.cpp b/sources/Map/LuaMap.cpp index 017240c1..33ffdc3b 100644 --- a/sources/Map/LuaMap.cpp +++ b/sources/Map/LuaMap.cpp @@ -157,7 +157,6 @@ namespace BBM distance[pos.y][pos.x] = 1; direction[pos.y][pos.x] = i; } - int finalDir = -1; while (d < 6) { for (int i = 0; i < 17; i++) { for (int j = 0; j < 17; j++) {