diff options
author | Paul Gilbert | 2016-04-28 21:34:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:22:38 -0400 |
commit | 23f5691b97cb53fd45ef411f051b7f10f0523a24 (patch) | |
tree | cee825c0c3bc4af78b22ea691897feb7f4495930 /engines/titanic/pet_control/pet_section.cpp | |
parent | 4fd482e41813f32359eb91a2b62867605af0382c (diff) | |
download | scummvm-rg350-23f5691b97cb53fd45ef411f051b7f10f0523a24.tar.gz scummvm-rg350-23f5691b97cb53fd45ef411f051b7f10f0523a24.tar.bz2 scummvm-rg350-23f5691b97cb53fd45ef411f051b7f10f0523a24.zip |
TITANIC: Implement summoning NPCs
Diffstat (limited to 'engines/titanic/pet_control/pet_section.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_section.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_section.cpp b/engines/titanic/pet_control/pet_section.cpp index a41118bf76..afdbc9fdd8 100644 --- a/engines/titanic/pet_control/pet_section.cpp +++ b/engines/titanic/pet_control/pet_section.cpp @@ -69,7 +69,7 @@ uint CPetSection::getColor(uint index) { const uint *CPetSection::getColorTable(int tableNum) { if (tableNum == -1) { CPetControl *pet = getPetControl(); - tableNum = pet ? pet->getState8() : 3; + tableNum = pet ? pet->getPassengerClass() : 3; } switch (tableNum) { |