mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 15:55:45 +00:00
Fix dectection of hit areas in earlier games
svn-id: r24140
This commit is contained in:
parent
e0b76855d3
commit
1d310debd9
@ -470,7 +470,7 @@ int AGOSEngine::init() {
|
||||
}
|
||||
}
|
||||
|
||||
midi.mapMT32toGM (getGameType() == GType_SIMON1 && !_native_mt32);
|
||||
midi.mapMT32toGM (getGameType() != GType_SIMON2 && !_native_mt32);
|
||||
|
||||
midi.set_driver(driver);
|
||||
int ret = midi.open();
|
||||
@ -1282,7 +1282,8 @@ startOver:
|
||||
inventoryUp(ha->window);
|
||||
} else if (ha->id == 0x7FFC) {
|
||||
inventoryDown(ha->window);
|
||||
} else if (ha->id >= 101 && ha->id < 113) {
|
||||
} else if ((getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) &&
|
||||
(ha->id >= 101 && ha->id < 113)) {
|
||||
_verbHitArea = ha->verb;
|
||||
setVerb(ha);
|
||||
_defaultVerb = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user