aboutsummaryrefslogtreecommitdiff
path: root/engines/igor/parts/part_90.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/igor/parts/part_90.cpp')
-rw-r--r--engines/igor/parts/part_90.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/igor/parts/part_90.cpp b/engines/igor/parts/part_90.cpp
index c069d5d34e..c503d155f2 100644
--- a/engines/igor/parts/part_90.cpp
+++ b/engines/igor/parts/part_90.cpp
@@ -69,10 +69,9 @@ void IgorEngine::PART_90() {
_inputVars[kInputEscape] = 0;
fadeOutPalette(768);
if (_currentPart != kInvalidPart) {
- if (_currentPart == 904) {
+ ++_currentPart;
+ if ((_gameVersion == kIdSpaCD && _currentPart == 904) || _currentPart == 905) {
_currentPart = 850;
- } else {
- ++_currentPart;
}
}
}