aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-11-22 22:49:24 +0000
committerArnaud Boutonné2010-11-22 22:49:24 +0000
commit7711cc57d6777efa8591ea794912b1400faa250e (patch)
tree816ffcbe76115761dba45d6a331d913d13828fff /engines/hugo/file.cpp
parent8bb43361cb02bbbb8964944de3b058bbab8f924d (diff)
downloadscummvm-rg350-7711cc57d6777efa8591ea794912b1400faa250e.tar.gz
scummvm-rg350-7711cc57d6777efa8591ea794912b1400faa250e.tar.bz2
scummvm-rg350-7711cc57d6777efa8591ea794912b1400faa250e.zip
HUGO: Rewrite saveObjects() and restoreObjects()
This fixes (at least for me) save and restore. saveEvents() and restoreEvents() still have to be rewritten. svn-id: r54422
Diffstat (limited to 'engines/hugo/file.cpp')
-rw-r--r--engines/hugo/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 336d44a1d3..0c2baffcae 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -420,7 +420,7 @@ void FileManager::restoreGame(int16 slot) {
status_t &gameStatus = _vm->getGameStatus();
- int score = in->readSint16LE();
+ int score = in->readSint16BE();
_vm->setScore(score);
gameStatus.storyModeFl = (in->readByte() == 1);