aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-funcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai-funcs.cpp')
-rw-r--r--engines/hdb/ai-funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index 56b021a567..1cd1b23255 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -739,7 +739,7 @@ void AI::initAllEnts() {
int i;
for (i = 0; i < _numInventory; i++) {
- AIEntity *temp = _inventory[i].ent;
+ AIEntity *temp = &_inventory[i].ent;
// Clear out all ptrs in entity before writing
for (int j = 0; j < kMaxAnimFrames; j++) {