From 84a5b4e1e32b8d6f48121d1a63401fb0be0be474 Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Tue, 13 May 2008 16:09:57 +0000 Subject: used memmove() instead of memcpy() to fix memory overlap error svn-id: r32088 --- engines/agos/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/draw.cpp') 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++; -- cgit v1.2.3