mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
Don't spawn TRANSPORTERSTAR if FURY
git-svn-id: https://svn.eduke32.com/eduke32@8032 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3dcbf9955d
commit
1b5edf9551
2 changed files with 16 additions and 5 deletions
|
@ -2985,7 +2985,8 @@ ACTOR_STATIC void Proj_MoveCustom(int const spriteNum)
|
|||
int playerNum = P_Get(otherSprite);
|
||||
|
||||
#ifndef EDUKE32_STANDALONE
|
||||
A_PlaySound(PISTOL_BODYHIT, otherSprite);
|
||||
if (!FURY)
|
||||
A_PlaySound(PISTOL_BODYHIT, otherSprite);
|
||||
#endif
|
||||
if (pProj->workslike & PROJECTILE_SPIT)
|
||||
P_HandleBeingSpitOn(g_player[playerNum].ps);
|
||||
|
@ -3020,7 +3021,10 @@ ACTOR_STATIC void Proj_MoveCustom(int const spriteNum)
|
|||
{
|
||||
Proj_BounceOffWall(pSprite, otherSprite);
|
||||
pSprite->owner = spriteNum;
|
||||
A_Spawn(spriteNum, TRANSPORTERSTAR);
|
||||
#ifndef EDUKE32_STANDALONE
|
||||
if (!FURY)
|
||||
A_Spawn(spriteNum, TRANSPORTERSTAR);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
@ -3103,6 +3107,9 @@ ACTOR_STATIC void G_MoveWeapons(void)
|
|||
goto next_sprite;
|
||||
}
|
||||
|
||||
if (FURY)
|
||||
goto next_sprite;
|
||||
|
||||
// hard coded projectiles
|
||||
switch (DYNAMICTILEMAP(pSprite->picnum))
|
||||
{
|
||||
|
|
|
@ -1018,9 +1018,13 @@ void G_OperateRespawns(int lotag)
|
|||
{
|
||||
if (!ud.monsters_off || !A_CheckEnemyTile(pSprite->hitag))
|
||||
{
|
||||
int const j = A_Spawn(spriteNum, TRANSPORTERSTAR);
|
||||
sprite[j].z -= ZOFFSET5;
|
||||
|
||||
#ifndef EDUKE32_STANDALONE
|
||||
if (!FURY)
|
||||
{
|
||||
int const j = A_Spawn(spriteNum, TRANSPORTERSTAR);
|
||||
sprite[j].z -= ZOFFSET5;
|
||||
}
|
||||
#endif
|
||||
// Just a way to killit (see G_MoveFX(): RESPAWN__STATIC)
|
||||
pSprite->extra = 66-12;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue