diff options
author | Paul Gilbert | 2016-03-19 20:56:29 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-19 20:56:29 -0400 |
commit | dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5 (patch) | |
tree | b52c4f12ec3a6ecd25a23896d03faf3a2b156e84 /engines/titanic/pet_control/pet_control.cpp | |
parent | 46d5af527d5731eee812a18a57c4105bc01447c6 (diff) | |
download | scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.tar.gz scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.tar.bz2 scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.zip |
TITANIC: Implement view change logic
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index a61773d319..f5498887e3 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -38,9 +38,9 @@ void CPetControl::save(SimpleFile *file, int indent) const { void CPetControl::load(SimpleFile *file) { int val = file->readNumber(); - bool valid = isValid(); + isValid(); - if (!valid) { + if (!val) { _fieldBC = file->readNumber(); _string1 = file->readString(); _string2 = file->readString(); |