mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Merge pull request #6148 from MichalZr6/fix_remove_artifacts
Minor fixes for artifact removal during map load and handling null map objects
This commit is contained in:
@@ -746,6 +746,8 @@ ModCompatibilityInfo MapController::modAssessmentMap(const CMap & map)
|
||||
|
||||
for(auto obj : map.objects)
|
||||
{
|
||||
if(!obj)
|
||||
continue;
|
||||
modAssessmentObject(obj.get(), result);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user