diff options
author | Christopher Page | 2008-05-13 16:09:57 +0000 |
---|---|---|
committer | Christopher Page | 2008-05-13 16:09:57 +0000 |
commit | 84a5b4e1e32b8d6f48121d1a63401fb0be0be474 (patch) | |
tree | 59f933f41f3d5abdcbf408f125698acfc5cad691 /engines/agos | |
parent | 307ef24582f04b5fb5858fab4db090a7a01a9ecd (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/agos/draw.cpp | 2 |
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++; |