diff options
author | Paul Gilbert | 2018-03-31 20:40:17 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-31 20:40:17 -0400 |
commit | 8f597c1e4ce53bab19156054767c21b8b6898d59 (patch) | |
tree | 01a6c26c190cb2a5598ee1b2f28883896fedf9df /engines | |
parent | b442db854327ea55c5399c1c319f7f35e771f37b (diff) | |
download | scummvm-rg350-8f597c1e4ce53bab19156054767c21b8b6898d59.tar.gz scummvm-rg350-8f597c1e4ce53bab19156054767c21b8b6898d59.tar.bz2 scummvm-rg350-8f597c1e4ce53bab19156054767c21b8b6898d59.zip |
XEEN: Fix loading character HPs that are negative
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/character.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/character.cpp b/engines/xeen/character.cpp index 50ad2fe388..85f0e536b3 100644 --- a/engines/xeen/character.cpp +++ b/engines/xeen/character.cpp @@ -237,8 +237,8 @@ void Character::synchronize(Common::Serializer &s) { s.syncAsUint16LE(_townUnknown); s.syncAsByte(_savedMazeId); - s.syncAsUint16LE(_currentHp); - s.syncAsUint16LE(_currentSp); + s.syncAsSint16LE(_currentHp); + s.syncAsSint16LE(_currentSp); s.syncAsUint16LE(_birthYear); s.syncAsUint32LE(_experience); s.syncAsByte(_currentAdventuringSpell); |