diff options
author | David Fioramonti | 2017-08-27 05:17:45 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-27 05:32:23 -0700 |
commit | de5e2c96745b77a45d5195361c8381da75b3a943 (patch) | |
tree | e27f40a4af1d2dc5b083e8d4a951fc9ed85edb60 /engines | |
parent | 42cdd66f81b27e40a2e50556da64b8576a07ef87 (diff) | |
download | scummvm-rg350-de5e2c96745b77a45d5195361c8381da75b3a943.tar.gz scummvm-rg350-de5e2c96745b77a45d5195361c8381da75b3a943.tar.bz2 scummvm-rg350-de5e2c96745b77a45d5195361c8381da75b3a943.zip |
TITANIC: Fix viewport _field24/starcolor not being saved
One of the fields wasn't getting saved. This field determines
whether the star color should be pink or white. It gets recomputed
when you put the helmet back on so it doesn't really matter.
Previously, when it loaded this value it was loading some orientation
data which occurs next in the saved data file for saved games saved
by scummvm versions before this commit.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/viewport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/titanic/star_control/viewport.cpp b/engines/titanic/star_control/viewport.cpp index fb933f240a..ba1d7c0383 100644 --- a/engines/titanic/star_control/viewport.cpp +++ b/engines/titanic/star_control/viewport.cpp @@ -95,6 +95,7 @@ void CViewport::save(SimpleFile *file, int indent) { file->writeFloatLine(_field18, indent); file->writeFloatLine(_field1C, indent); file->writeNumberLine(_width | (_height << 16), indent); + file->writeNumberLine(_field24, indent); for (int idx = 0; idx < 5; ++idx) file->writeFloatLine(_valArray[idx], indent); |