mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fix minor bugs
This commit is contained in:
@ -576,6 +576,9 @@ ModCompatibilityInfo MapController::modAssessmentMap(const CMap & map)
|
||||
ModCompatibilityInfo result;
|
||||
for(auto obj : map.objects)
|
||||
{
|
||||
if(obj->ID == Obj::HERO)
|
||||
continue; //stub!
|
||||
|
||||
auto handler = VLC->objtypeh->getHandlerFor(obj->ID, obj->subID);
|
||||
auto modName = QString::fromStdString(handler->getJsonKey()).split(":").at(0).toStdString();
|
||||
if(modName != "core")
|
||||
|
Reference in New Issue
Block a user