From 7711cc57d6777efa8591ea794912b1400faa250e Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Mon, 22 Nov 2010 22:49:24 +0000 Subject: 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 --- engines/hugo/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hugo/file.cpp') 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); -- cgit v1.2.3