Skip to content

Commit

Permalink
KOTOR: Hide selection when entering menus or unloading the module
Browse files Browse the repository at this point in the history
  • Loading branch information
vkremianskii committed Mar 1, 2019
1 parent 7408d8e commit ebc8ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/engines/kotor/gui/ingame/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ void HUD::callbackActive(Widget &widget) {
return;
}

hideSelection();
_menu.showMenu(widget.getTag());
sub(_menu);
}
Expand Down
1 change: 1 addition & 0 deletions src/engines/kotorbase/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ void Module::loadTexturePack() {

void Module::unload(bool completeUnload) {
_ingame->resetSelection();
_ingame->hideSelection();

GfxMan.pauseAnimations();

Expand Down

0 comments on commit ebc8ba0

Please sign in to comment.