From f67bd1f2e74034c46fd2af3988efdd04b27c27b0 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 26 Oct 2012 23:22:27 -0400 Subject: PEGASUS: Don't error out for two missing WSC AI videos --- engines/pegasus/neighborhood/wsc/wsc.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/pegasus') 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): -- cgit v1.2.3