diff options
Diffstat (limited to 'engines/wage/design.cpp')
-rw-r--r-- | engines/wage/design.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index f3616363b8..5017992a5c 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -53,7 +53,7 @@ namespace Wage { Design::Design(Common::SeekableReadStream *data) { - int len = READ_BE_UINT16(data); + int len = data->readUint16BE() - 2; _data = (byte *)malloc(len); for (int i = 0; i < len; i++) |