aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/inventory.cpp')
-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();