diff options
-rw-r--r-- | engines/cruise/function.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index 65108d9c79..6ae11f2668 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -1012,6 +1012,7 @@ actorStruct *addAnimation(actorStruct * pHead, int overlay, int objIdx, int para if (!pNewElement) return NULL; + memset(pNewElement, 0, sizeof(actorStruct)); pNewElement->next = pPrevious->next; pPrevious->next = pNewElement; |