diff options
author | Strangerke | 2014-06-05 08:06:32 +0200 |
---|---|---|
committer | Strangerke | 2014-06-05 08:06:32 +0200 |
commit | d76c375c3f060db0912cce26b5b38b94cb3ad414 (patch) | |
tree | 3e4e038a6f89cc24b81bbde881a63967fe89e30f | |
parent | ef902a3fa2d3e4edb4d2d18fab03998bdce2646d (diff) | |
download | scummvm-rg350-d76c375c3f060db0912cce26b5b38b94cb3ad414.tar.gz scummvm-rg350-d76c375c3f060db0912cce26b5b38b94cb3ad414.tar.bz2 scummvm-rg350-d76c375c3f060db0912cce26b5b38b94cb3ad414.zip |
CRUISE: Remove useless code in addAnimation()
-rw-r--r-- | engines/cruise/function.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index dc4303c286..a026bbe0c1 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -1082,11 +1082,6 @@ actorStruct *addAnimation(actorStruct * pHead, int overlay, int objIdx, int para pCurrent = pPrevious->next; } - if (pCurrent && (pCurrent->overlayNumber == overlay) - && (pCurrent->idx == objIdx) && (pCurrent->type == param2)) { - return NULL; - } - actorStruct *pNewElement = (actorStruct *) MemAlloc(sizeof(actorStruct)); if (!pNewElement) return NULL; |