From 045942fd68d0c12df594a99f5478b5bec4b17288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Zieli=C5=84ski?= Date: Tue, 28 Mar 2023 18:25:56 +0200 Subject: [PATCH] Fixed warning-as-error --- lib/rmg/TreasurePlacer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/rmg/TreasurePlacer.cpp b/lib/rmg/TreasurePlacer.cpp index 164d489cf..ab4efc7b7 100644 --- a/lib/rmg/TreasurePlacer.cpp +++ b/lib/rmg/TreasurePlacer.cpp @@ -55,8 +55,6 @@ void TreasurePlacer::addAllPossibleObjects() { ObjectInfo oi; - int numZones = static_cast(map.getZones().size()); - for(auto primaryID : VLC->objtypeh->knownObjects()) { for(auto secondaryID : VLC->objtypeh->knownSubObjects(primaryID))