Permalink
Browse files

don't show tooltips when the mouse is disabled

  • Loading branch information...
1 parent 6144991 commit 8fcedaa6f2f37ef89e3fd9574cd36aecc1bd1b31 @fizzet fizzet committed Jul 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/core/GUI/GameControl.cpp
@@ -1148,7 +1148,7 @@ bool GameControl::OnKeyRelease(unsigned char Key, unsigned short Mod)
void GameControl::DisplayTooltip() {
Game* game = core->GetGame();
- if (game) {
+ if (game && !(ScreenFlags & SF_DISABLEMOUSE)) {
Map* area = game->GetCurrentArea( );
if (area) {
Actor *actor = area->GetActorByGlobalID(lastActorID);

0 comments on commit 8fcedaa

Please sign in to comment.