aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/draw.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-05-13 16:09:57 +0000
committerChristopher Page2008-05-13 16:09:57 +0000
commit84a5b4e1e32b8d6f48121d1a63401fb0be0be474 (patch)
tree59f933f41f3d5abdcbf408f125698acfc5cad691 /engines/agos/draw.cpp
parent307ef24582f04b5fb5858fab4db090a7a01a9ecd (diff)
downloadscummvm-rg350-84a5b4e1e32b8d6f48121d1a63401fb0be0be474.tar.gz
scummvm-rg350-84a5b4e1e32b8d6f48121d1a63401fb0be0be474.tar.bz2
scummvm-rg350-84a5b4e1e32b8d6f48121d1a63401fb0be0be474.zip
used memmove() instead of memcpy() to fix memory overlap error
svn-id: r32088
Diffstat (limited to 'engines/agos/draw.cpp')
-rw-r--r--engines/agos/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp
index 737f5317af..d38a5ad33b 100644
--- a/engines/agos/draw.cpp
+++ b/engines/agos/draw.cpp
@@ -473,7 +473,7 @@ void AGOSEngine::restoreBackGround() {
animTable = animTableTmp = _screenAnim1;
while (animTable->srcPtr) {
if (!(animTable->windowNum & 0x8000)) {
- memcpy(animTableTmp, animTable, sizeof(AnimTable));
+ memmove(animTableTmp, animTable, sizeof(AnimTable));
animTableTmp++;
}
animTable++;