Revert "qtscript: Do not call destroyed event twice for each object."

This reverts commit a51de16080.
Fixes #3175.
master
cybersphinx 2012-02-24 00:41:20 +01:00
parent 9e63fe3433
commit 4f722254f0
1 changed files with 1 additions and 4 deletions

View File

@ -183,10 +183,7 @@ void objmemUpdate(void)
break;
}
psCBObjDestroyed = NULL;
if (psCurr->died == gameTime || psCurr->died == 2)
{
triggerEventDestroyed(psCurr);
}
triggerEventDestroyed(psCurr);
psPrev = psCurr;
}