mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-26 13:51:09 +00:00
Merge branch 'maint'
This commit is contained in:
commit
4eb6f74e36
1 changed files with 6 additions and 3 deletions
|
@ -744,10 +744,13 @@ void AActor::Die (AActor *source, AActor *inflictor, int dmgflags)
|
||||||
{
|
{
|
||||||
SetState (diestate);
|
SetState (diestate);
|
||||||
|
|
||||||
|
if (tics > 1)
|
||||||
|
{
|
||||||
tics -= pr_killmobj() & 3;
|
tics -= pr_killmobj() & 3;
|
||||||
if (tics < 1)
|
if (tics < 1)
|
||||||
tics = 1;
|
tics = 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Destroy();
|
Destroy();
|
||||||
|
|
Loading…
Reference in a new issue