diff options
author | Travis Howell | 2006-09-29 06:16:28 +0000 |
---|---|---|
committer | Travis Howell | 2006-09-29 06:16:28 +0000 |
commit | 3e6c4d8582f3bcef87eb72d4926c45b0dedd3914 (patch) | |
tree | e9fd37498c4a54d922ad08d24a5fdeb414dfc345 /engines/simon/simon.cpp | |
parent | 98e761a7201cfc1de20570dad5c872d725896818 (diff) | |
download | scummvm-rg350-3e6c4d8582f3bcef87eb72d4926c45b0dedd3914.tar.gz scummvm-rg350-3e6c4d8582f3bcef87eb72d4926c45b0dedd3914.tar.bz2 scummvm-rg350-3e6c4d8582f3bcef87eb72d4926c45b0dedd3914.zip |
Fix input in PP
svn-id: r24005
Diffstat (limited to 'engines/simon/simon.cpp')
-rw-r--r-- | engines/simon/simon.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index d238b7e269..1dd0a45882 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -1096,7 +1096,9 @@ void SimonEngine::setup_cond_c_helper() { _hitAreaObjectItem = _lastHitArea->item_ptr; id = 0xFFFF; if (_lastHitArea->flags & kBFTextBox) { - if (getGameType() == GType_FF && (_lastHitArea->flags & kBFHyperBox)) + if (getGameType() == GType_PP) + id = _lastHitArea->id; + else if (getGameType() == GType_FF && (_lastHitArea->flags & kBFHyperBox)) id = _lastHitArea->data; else id = _lastHitArea->flags / 256; @@ -1192,7 +1194,9 @@ startOver: _hitAreaSubjectItem = ha->item_ptr; id = 0xFFFF; if (ha->flags & kBFTextBox) { - if (getGameType() == GType_FF && (ha->flags & kBFHyperBox)) + if (getGameType() == GType_PP) + id = _lastHitArea->id; + else if (getGameType() == GType_FF && (ha->flags & kBFHyperBox)) id = ha->data; else id = ha->flags / 256; |