mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Remove excessive warning
This commit is contained in:
parent
be3ed014a7
commit
37437224f9
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user