CRUISE: Remove useless code in addAnimation()
This commit is contained in:
parent
ef902a3fa2
commit
d76c375c3f
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue