aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
authorMatthew Hoops2012-10-29 11:16:51 -0400
committerMatthew Hoops2012-10-29 11:17:50 -0400
commitfdc80fd952120ecb8a4941edd4c2e404cdc5fa33 (patch)
tree79805fd13f07998a38eafca4e801372b76147eb1 /engines/pegasus
parente4898831a3ec4602ed93cad372526c6df8126126 (diff)
downloadscummvm-rg350-fdc80fd952120ecb8a4941edd4c2e404cdc5fa33.tar.gz
scummvm-rg350-fdc80fd952120ecb8a4941edd4c2e404cdc5fa33.tar.bz2
scummvm-rg350-fdc80fd952120ecb8a4941edd4c2e404cdc5fa33.zip
PEGASUS: Improve on the WSC missing AI videos bug
Made the only hint available into the first hint
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/neighborhood/wsc/wsc.cpp26
1 files changed, 12 insertions, 14 deletions
diff --git a/engines/pegasus/neighborhood/wsc/wsc.cpp b/engines/pegasus/neighborhood/wsc/wsc.cpp
index 89c31fa7e9..50b7774da4 100644
--- a/engines/pegasus/neighborhood/wsc/wsc.cpp
+++ b/engines/pegasus/neighborhood/wsc/wsc.cpp
@@ -646,11 +646,13 @@ uint WSC::getNumHints() {
return 1;
break;
case MakeRoomView(kWSC03, kNorth):
- if (inSynthesizerGame() || (_vm->getEnergyDeathReason() == kDeathDidntStopPoison &&
- !_privateFlags.getFlag(kWSCPrivateInMoleculeGameFlag) &&
- !GameState.getWSCDesignedAntidote()))
- return 3;
- break;
+ // WORKAROUND: The original game is missing the first two hint movies and
+ // just plays nothing in its stead. We'll just return that we have one
+ // hint available.
+ if (inSynthesizerGame())
+ return 1;
+
+ // fall through
case MakeRoomView(kWSC01, kNorth):
case MakeRoomView(kWSC01, kSouth):
case MakeRoomView(kWSC01, kEast):
@@ -779,16 +781,12 @@ Common::String WSC::getHintMovie(uint hintNum) {
}
break;
case MakeRoomView(kWSC03, kNorth):
- 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);
- }
+ // WORKAROUND: The original game is missing the first two hint movies and
+ // just plays nothing in its stead. We just make it the first hint.
+ if (inSynthesizerGame())
+ return "Images/AI/WSC/XW03NH3";
- return Common::String::format("Images/AI/WSC/XWPH%d", hintNum);
+ // fall through
case MakeRoomView(kWSC01, kNorth):
case MakeRoomView(kWSC01, kSouth):
case MakeRoomView(kWSC01, kEast):