diff options
author | Arnaud Boutonné | 2010-09-01 22:11:01 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-09-01 22:11:01 +0000 |
commit | ca74eb3e8b77cd49bad7a0fa6e261531ea8c0f44 (patch) | |
tree | 302f532c05fa0d8ecbee3496df3f5cce88ed35e9 /tools/create_hugo | |
parent | 64313cd7f10267c29d7e3b963c7bd0ff2e1c7f1a (diff) | |
download | scummvm-rg350-ca74eb3e8b77cd49bad7a0fa6e261531ea8c0f44.tar.gz scummvm-rg350-ca74eb3e8b77cd49bad7a0fa6e261531ea8c0f44.tar.bz2 scummvm-rg350-ca74eb3e8b77cd49bad7a0fa6e261531ea8c0f44.zip |
HUGO: Fix labyrinth bug in Hugo 2 for Windows
svn-id: r52485
Diffstat (limited to 'tools/create_hugo')
-rw-r--r-- | tools/create_hugo/create_hugo.cpp | 1 | ||||
-rw-r--r-- | tools/create_hugo/create_hugo.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/create_hugo/create_hugo.cpp b/tools/create_hugo/create_hugo.cpp index 2c73996510..8c93b0d597 100644 --- a/tools/create_hugo/create_hugo.cpp +++ b/tools/create_hugo/create_hugo.cpp @@ -1154,6 +1154,7 @@ void writeActListArray(FILE *outFile, const actList actListArr[], int nbrElem) { case INIT_MAZE: // 30 writeSint16BE(outFile, ((act *) actListArr[i][j])->a30.timer); writeByte(outFile, ((act *) actListArr[i][j])->a30.mazeSize); + writeSint16BE(outFile, ((act *) actListArr[i][j])->a30.x1); writeSint16BE(outFile, ((act *) actListArr[i][j])->a30.y1); writeSint16BE(outFile, ((act *) actListArr[i][j])->a30.x2); writeSint16BE(outFile, ((act *) actListArr[i][j])->a30.y2); diff --git a/tools/create_hugo/create_hugo.h b/tools/create_hugo/create_hugo.h index 8a8a5a9e27..671b5c9142 100644 --- a/tools/create_hugo/create_hugo.h +++ b/tools/create_hugo/create_hugo.h @@ -31,7 +31,7 @@ #define DATAALIGNMENT 4 #define HUGO_DAT_VER_MAJ 0 // 1 byte -#define HUGO_DAT_VER_MIN 18 // 1 byte +#define HUGO_DAT_VER_MIN 19 // 1 byte typedef unsigned char uint8; typedef unsigned char byte; |