Permalink
Browse files

GameControl::Draw: don't highlight HIDDEN doors

  • Loading branch information...
1 parent 13dfd29 commit f47a95a0b52a940838a0b7494e0709d6eac3d1ae @lynxlynxlynx lynxlynxlynx committed Jun 13, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 gemrb/core/GUI/GameControl.cpp
@@ -484,6 +484,9 @@ void GameControl::Draw(unsigned short x, unsigned short y)
Door *d;
for (idx = 0; (d = area->TMap->GetDoor( idx )); idx++) {
d->Highlight = false;
+ if (d->Flags & DOOR_HIDDEN) {
+ continue;
+ }
if (overDoor == d) {
if (target_mode) {
if (d->Visible() && (d->VisibleTrap(0) || (d->Flags & DOOR_LOCKED))) {

0 comments on commit f47a95a

Please sign in to comment.