mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- Fixed: Corpse queue accounting went awry once things started being kicked out of it.
SVN r3934 (trunk)
This commit is contained in:
parent
0f0dcc08a2
commit
ecf700b47b
1 changed files with 1 additions and 3 deletions
|
@ -350,7 +350,6 @@ CUSTOM_CVAR(Int, sv_corpsequeuesize, 64, CVAR_ARCHIVE|CVAR_SERVERINFO)
|
|||
while (first != NULL && first->Count > (DWORD)self)
|
||||
{
|
||||
DCorpsePointer *next = iterator.Next ();
|
||||
next->Count = first->Count;
|
||||
first->Destroy ();
|
||||
first = next;
|
||||
}
|
||||
|
@ -373,9 +372,8 @@ DCorpsePointer::DCorpsePointer (AActor *ptr)
|
|||
if (first->Count >= (DWORD)sv_corpsequeuesize)
|
||||
{
|
||||
DCorpsePointer *next = iterator.Next ();
|
||||
next->Count = first->Count;
|
||||
first->Destroy ();
|
||||
return;
|
||||
first = next;
|
||||
}
|
||||
}
|
||||
++first->Count;
|
||||
|
|
Loading…
Reference in a new issue