aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-26 11:08:25 -0400
committerPaul Gilbert2017-08-26 11:08:25 -0400
commitb4ee0ec8236787c8894dd78d305006b54890bfb1 (patch)
treedec5145e8a83423b74e298d14ac5fc12d1651816 /engines/titanic/npcs
parent67ae67d685676bd3fd52915c57c8751b36a8f0bf (diff)
downloadscummvm-rg350-b4ee0ec8236787c8894dd78d305006b54890bfb1.tar.gz
scummvm-rg350-b4ee0ec8236787c8894dd78d305006b54890bfb1.tar.bz2
scummvm-rg350-b4ee0ec8236787c8894dd78d305006b54890bfb1.zip
TITANIC: Hide back view of MaitreD from close to the table
The MaitreD was rendered using frame 0 from c386.avi, but with a corrupted right and bottom edge. Ironically, the MaitreD object isn't used at all, since hiding him revealed he's part of the background as well. From the video, it seems like he was meant to have an idle wiggle animation that didn't end up being used.
Diffstat (limited to 'engines/titanic/npcs')
-rw-r--r--engines/titanic/npcs/maitre_d.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/npcs/maitre_d.cpp b/engines/titanic/npcs/maitre_d.cpp
index e944af81c1..a45f48523a 100644
--- a/engines/titanic/npcs/maitre_d.cpp
+++ b/engines/titanic/npcs/maitre_d.cpp
@@ -78,6 +78,11 @@ void CMaitreD::load(SimpleFile *file) {
_timerId = file->readNumber();
CTrueTalkNPC::load(file);
+
+ // WORKAROUND: The back view of the MaitreD from close to the table is dodgy
+ // in the original. And unneeded anyway, since he's also part of the background
+ if (_name == "MaitreLoop03")
+ _visible = false;
}
bool CMaitreD::RestaurantMusicChanged(CRestaurantMusicChanged *msg) {