CRUISE: Remove useless code in addAnimation()

This commit is contained in:
Strangerke 2014-06-05 08:06:32 +02:00
parent ef902a3fa2
commit d76c375c3f

View file

@ -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;