mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fixes issue where freezing GREENSLIME repeatedly would increase the player's kill counter by one each time
git-svn-id: https://svn.eduke32.com/eduke32@5937 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6e94f29ee2
commit
cd8775dd28
1 changed files with 4 additions and 2 deletions
|
@ -4204,6 +4204,8 @@ ACTOR_STATIC void G_MoveActors(void)
|
|||
if (damageTile == FREEZEBLAST)
|
||||
goto next_sprite;
|
||||
|
||||
pPlayer->actors_killed++;
|
||||
|
||||
for (bssize_t j = 16; j >= 0; --j)
|
||||
{
|
||||
int32_t newSprite = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum),
|
||||
|
@ -4333,8 +4335,6 @@ ACTOR_STATIC void G_MoveActors(void)
|
|||
{
|
||||
A_PlaySound(SLIM_DYING,spriteNum);
|
||||
|
||||
pPlayer->actors_killed++;
|
||||
|
||||
if (pPlayer->somethingonplayer == spriteNum)
|
||||
pPlayer->somethingonplayer = -1;
|
||||
|
||||
|
@ -4346,6 +4346,8 @@ ACTOR_STATIC void G_MoveActors(void)
|
|||
goto next_sprite;
|
||||
}
|
||||
|
||||
pPlayer->actors_killed++;
|
||||
|
||||
if ((krand()&255) < 32)
|
||||
{
|
||||
int const j = A_Spawn(spriteNum,BLOODPOOL);
|
||||
|
|
Loading…
Reference in a new issue