Browse Source

Fixed warning-as-error

Tomasz Zieliński 2 years ago
parent
commit
045942fd68
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/rmg/TreasurePlacer.cpp

+ 0 - 2
lib/rmg/TreasurePlacer.cpp

@@ -55,8 +55,6 @@ void TreasurePlacer::addAllPossibleObjects()
 {
 {
 	ObjectInfo oi;
 	ObjectInfo oi;
 	
 	
-	int numZones = static_cast<int>(map.getZones().size());
-	
 	for(auto primaryID : VLC->objtypeh->knownObjects())
 	for(auto primaryID : VLC->objtypeh->knownObjects())
 	{
 	{
 		for(auto secondaryID : VLC->objtypeh->knownSubObjects(primaryID))
 		for(auto secondaryID : VLC->objtypeh->knownSubObjects(primaryID))