PEGASUS: Don't error out for two missing WSC AI videos

This commit is contained in:
Matthew Hoops 2012-10-26 23:22:27 -04:00
parent 86c23885d3
commit f67bd1f2e7

View File

@ -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):