mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Create fuzzy logic map object evaluation fundamentals
This commit is contained in:
@@ -19,7 +19,7 @@ MapObjectsEvaluator::MapObjectsEvaluator()
|
||||
for(auto secondaryID : VLC->objtypeh->knownSubObjects(primaryID))
|
||||
{
|
||||
auto handler = VLC->objtypeh->getHandlerFor(primaryID, secondaryID);
|
||||
if(!handler->isStaticObject() && handler->getRMGInfo().value)
|
||||
if(!handler->isStaticObject())
|
||||
{
|
||||
objectDatabase[CompoundMapObjectID(primaryID, secondaryID)] = handler->getRMGInfo().value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user