aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
authorMatthew Hoops2012-10-26 23:22:27 -0400
committerMatthew Hoops2012-10-26 23:22:27 -0400
commitf67bd1f2e74034c46fd2af3988efdd04b27c27b0 (patch)
treed4f9cee2738e7007b411011308c2097422c1c623 /engines/pegasus
parent86c23885d308413288d0ea65c75e490a02de2f57 (diff)
downloadscummvm-rg350-f67bd1f2e74034c46fd2af3988efdd04b27c27b0.tar.gz
scummvm-rg350-f67bd1f2e74034c46fd2af3988efdd04b27c27b0.tar.bz2
scummvm-rg350-f67bd1f2e74034c46fd2af3988efdd04b27c27b0.zip
PEGASUS: Don't error out for two missing WSC AI videos
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/neighborhood/wsc/wsc.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/pegasus/neighborhood/wsc/wsc.cpp b/engines/pegasus/neighborhood/wsc/wsc.cpp
index f3bf113333..89c31fa7e9 100644
--- a/engines/pegasus/neighborhood/wsc/wsc.cpp
+++ b/engines/pegasus/neighborhood/wsc/wsc.cpp
@@ -779,8 +779,14 @@ Common::String WSC::getHintMovie(uint hintNum) {
}
break;
case MakeRoomView(kWSC03, kNorth):
- if (inSynthesizerGame())
+ if (inSynthesizerGame()) {
+ // WORKAROUND: The original game is missing the first two hint movies and
+ // just plays nothing in its stead.
+ if (hintNum != 3)
+ return "";
+
return Common::String::format("Images/AI/WSC/XW03NH%d", hintNum);
+ }
return Common::String::format("Images/AI/WSC/XWPH%d", hintNum);
case MakeRoomView(kWSC01, kNorth):