aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorlukaslw2014-07-26 01:51:21 +0200
committerlukaslw2014-07-26 01:51:21 +0200
commit687a16874775fc54d96991b56e8b019d1eeb9413 (patch)
tree888123aa7cc445dc317a44841db8a3f31ed66481 /engines
parenteebedf53aa6e6b7ea298eda0afc3e6fe196416cf (diff)
downloadscummvm-rg350-687a16874775fc54d96991b56e8b019d1eeb9413.tar.gz
scummvm-rg350-687a16874775fc54d96991b56e8b019d1eeb9413.tar.bz2
scummvm-rg350-687a16874775fc54d96991b56e8b019d1eeb9413.zip
PRINCE: Block options menu on mobs in map location
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/prince.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index dec3bc4b9c..a054780616 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -2491,7 +2491,7 @@ void PrinceEngine::enableOptions() {
changeCursor(1);
_currentPointerNumber = 1;
if (_selectedMob != -1) {
- //if (_mobType != 0x100) {
+ if (_mobList[_selectedMob]._type != 0x100) {
Common::Point mousePos = _system->getEventManager()->getMousePos();
int x1 = mousePos.x - _optionsWidth / 2;
int x2 = mousePos.x + _optionsWidth / 2;
@@ -2513,7 +2513,7 @@ void PrinceEngine::enableOptions() {
_optionsX = x1;
_optionsY = y1;
_optionsFlag = 1;
- //}
+ }
}
}
}