mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- Changed A_FreezeDeathChunks() so that instead of directly destroying an
actor, it sets it to the "Null" state, which will make it invisible and destroy it one tic later. SVN r1539 (trunk)
This commit is contained in:
parent
bb9b5ebf92
commit
3ecca432a9
3 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
April 9, 2009
|
||||
- Changed A_FreezeDeathChunks() so that instead of directly destroying an
|
||||
actor, it sets it to the "Null" state, which will make it invisible and
|
||||
destroy it one tic later.
|
||||
- Added a NULL pointer check to A_Fire() and copied the target to a local
|
||||
variable inside A_VileAttack() so that if P_DamageMobj() destroys the
|
||||
target, the function will still have a valid pointer to it (since reading
|
||||
|
|
|
@ -294,9 +294,9 @@ DEFINE_ACTION_FUNCTION(AActor, A_FreezeDeathChunks)
|
|||
{
|
||||
CALL_ACTION(A_BossDeath, self);
|
||||
}
|
||||
CALL_ACTION(A_NoBlocking, self);
|
||||
CALL_ACTION(A_NoBlocking, self);
|
||||
|
||||
self->Destroy ();
|
||||
self->SetState(self->FindState(NAME_Null));
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// 'None' must always be the first name.
|
||||
xx(None)
|
||||
xx(Null)
|
||||
|
||||
xx(Super)
|
||||
xx(Object)
|
||||
|
|
Loading…
Reference in a new issue