Selaa lähdekoodia

Remove excessive warning

Ivan Savenko 2 vuotta sitten
vanhempi
sitoutus
37437224f9
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      lib/CTownHandler.cpp

+ 2 - 1
lib/CTownHandler.cpp

@@ -595,7 +595,8 @@ void CTownHandler::loadBuilding(CTown * town, const std::string & stringID, cons
 
 	if(ret->bid == BuildingID::NONE && !source["id"].isNull())
 	{
-		logMod->warn("Building %s: id field is deprecated", stringID);
+		// FIXME: A lot of false-positives with no clear way to handle them in mods
+		//logMod->warn("Building %s: id field is deprecated", stringID);
 		ret->bid = source["id"].isNull() ? BuildingID(BuildingID::NONE) : BuildingID(source["id"].Float());
 	}