mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
PEGASUS: Improve on the WSC missing AI videos bug
Made the only hint available into the first hint
This commit is contained in:
parent
e4898831a3
commit
fdc80fd952
@ -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 "";
|
||||
// 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/XW03NH%d", hintNum);
|
||||
}
|
||||
|
||||
return Common::String::format("Images/AI/WSC/XWPH%d", hintNum);
|
||||
// fall through
|
||||
case MakeRoomView(kWSC01, kNorth):
|
||||
case MakeRoomView(kWSC01, kSouth):
|
||||
case MakeRoomView(kWSC01, kEast):
|
||||
|
Loading…
x
Reference in New Issue
Block a user