mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
CON: Revert r6526 and r6527. This restores the longstanding behavior of the killit command, and setting sprites' xrepeat to zero, to not actually delete sprites unless their statnum is STAT_ACTOR or STAT_MISC. Be sure to set a sprite's statnum to one of these statnums if you want it to be deleted.
This should fix the broken E1L1 sector warp in the existing release of the Duke 64 mod, and the Polymer light culling used in HHR. git-svn-id: https://svn.eduke32.com/eduke32@6892 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6cb29c820c
commit
7c7b8f62a9
1 changed files with 0 additions and 12 deletions
|
@ -8371,18 +8371,6 @@ static void G_DoEventGame(int const nEventID)
|
|||
}
|
||||
while (statNum < MAXSTATUS);
|
||||
}
|
||||
|
||||
int spriteNum = headspritestat[0];
|
||||
|
||||
while (spriteNum >= 0)
|
||||
{
|
||||
int const nextSprite = nextspritestat[spriteNum];
|
||||
|
||||
if (sprite[spriteNum].xrepeat == 0)
|
||||
A_DeleteSprite(spriteNum);
|
||||
|
||||
spriteNum = nextSprite;
|
||||
}
|
||||
}
|
||||
|
||||
void G_MoveWorld(void)
|
||||
|
|
Loading…
Reference in a new issue