diff options
author | D G Turner | 2019-09-13 23:05:22 +0100 |
---|---|---|
committer | D G Turner | 2019-09-13 23:06:32 +0100 |
commit | c0d6a8fc7a051f31c0cf209b74c213b1d9643ca8 (patch) | |
tree | 303f3819d5bfb351375399ab0d01b6c135ea141e /engines/hdb/hdb.cpp | |
parent | bc7d30fb07f85e2a099cbebded3f48e0dc131c15 (diff) | |
download | scummvm-rg350-c0d6a8fc7a051f31c0cf209b74c213b1d9643ca8.tar.gz scummvm-rg350-c0d6a8fc7a051f31c0cf209b74c213b1d9643ca8.tar.bz2 scummvm-rg350-c0d6a8fc7a051f31c0cf209b74c213b1d9643ca8.zip |
HDB: Further Fixes for GCC Compiler Warnings
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 14b7eb110e..8788c2037f 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -574,7 +574,7 @@ void HDBGame::useEntity(AIEntity *e) { AIEntity temp; if (_ai->getTableEnt(e->type)) { - memcpy(&temp, e, sizeof(AIEntity)); + temp = *e; _ai->getItemSound(e->type); |