aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorVladimir Menshakov2010-03-20 18:02:43 +0000
committerVladimir Menshakov2010-03-20 18:02:43 +0000
commit1bcf90c2e31ea85dc8df6660223f3a0b16d3dbbc (patch)
treecf8acc8922a204f2c152e099445d78fbef140d61 /engines/teenagent
parent7666cac789506b367c504da41ce105e5e351c3dd (diff)
downloadscummvm-rg350-1bcf90c2e31ea85dc8df6660223f3a0b16d3dbbc.tar.gz
scummvm-rg350-1bcf90c2e31ea85dc8df6660223f3a0b16d3dbbc.tar.bz2
scummvm-rg350-1bcf90c2e31ea85dc8df6660223f3a0b16d3dbbc.zip
fixed endianess issue
svn-id: r48331
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/inventory.cpp b/engines/teenagent/inventory.cpp
index 3ffda1ac4c..677c49519e 100644
--- a/engines/teenagent/inventory.cpp
+++ b/engines/teenagent/inventory.cpp
@@ -56,7 +56,7 @@ void Inventory::init(TeenAgentEngine *engine) {
byte offsets = items[0];
assert(offsets == 92);
for (byte i = 0; i <= offsets; ++i) {
- offset[i] = READ_UINT16(items + i * 2 + 1);
+ offset[i] = READ_LE_UINT16(items + i * 2 + 1);
}
Resources *res = Resources::instance();