aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/hdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index b7fdf304ba..14b7eb110e 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -572,8 +572,8 @@ void HDBGame::useEntity(AIEntity *e) {
bool added = false;
+ AIEntity temp;
if (_ai->getTableEnt(e->type)) {
- AIEntity temp;
memcpy(&temp, e, sizeof(AIEntity));
_ai->getItemSound(e->type);