|
|
@@ -83,8 +83,11 @@ void AdventureMapInterface::onAudioPaused()
|
|
|
|
|
|
void AdventureMapInterface::onHeroMovementStarted(const CGHeroInstance * hero)
|
|
|
{
|
|
|
- widget->getInfoBar()->popAll();
|
|
|
- widget->getInfoBar()->showSelection();
|
|
|
+ if (shortcuts->optionMapViewActive())
|
|
|
+ {
|
|
|
+ widget->getInfoBar()->popAll();
|
|
|
+ widget->getInfoBar()->showSelection();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void AdventureMapInterface::onHeroChanged(const CGHeroInstance *h)
|
|
|
@@ -134,15 +137,15 @@ void AdventureMapInterface::activate()
|
|
|
}
|
|
|
|
|
|
void AdventureMapInterface::deactivate()
|
|
|
-{
|
|
|
- CIntObject::deactivate();
|
|
|
- CCS->curh->set(Cursor::Map::POINTER);
|
|
|
-
|
|
|
- if(LOCPLINT)
|
|
|
- LOCPLINT->cingconsole->deactivate();
|
|
|
-}
|
|
|
-
|
|
|
-void AdventureMapInterface::showAll(Canvas & to)
|
|
|
+{
|
|
|
+ CIntObject::deactivate();
|
|
|
+ CCS->curh->set(Cursor::Map::POINTER);
|
|
|
+
|
|
|
+ if(LOCPLINT)
|
|
|
+ LOCPLINT->cingconsole->deactivate();
|
|
|
+}
|
|
|
+
|
|
|
+void AdventureMapInterface::showAll(Canvas & to)
|
|
|
{
|
|
|
CIntObject::showAll(to);
|
|
|
LOCPLINT->cingconsole->show(to);
|