mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Do not update minimap using puzzle map data
This commit is contained in:
@@ -63,7 +63,7 @@ void MapViewController::setViewCenter(const Point & position, int level)
|
||||
model->setViewCenter(betterPosition);
|
||||
model->setLevel(vstd::clamp(level, 0, context->getMapSize().z));
|
||||
|
||||
if(adventureInt) // may be called before adventureInt is initialized
|
||||
if(adventureInt && !puzzleMapContext) // may be called before adventureInt is initialized
|
||||
adventureInt->onMapViewMoved(model->getTilesTotalRect(), model->getLevel());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user