mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Disable a few more hard-coded sounds in EDUKE32_STANDALONE builds
git-svn-id: https://svn.eduke32.com/eduke32@6975 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2738d8e2a4
commit
8d72c6e5c5
1 changed files with 6 additions and 1 deletions
|
@ -2935,8 +2935,9 @@ ACTOR_STATIC void Proj_MoveCustom(int const spriteNum)
|
||||||
{
|
{
|
||||||
int playerNum = P_Get(otherSprite);
|
int playerNum = P_Get(otherSprite);
|
||||||
|
|
||||||
|
#ifndef EDUKE32_STANDALONE
|
||||||
A_PlaySound(PISTOL_BODYHIT, otherSprite);
|
A_PlaySound(PISTOL_BODYHIT, otherSprite);
|
||||||
|
#endif
|
||||||
if (pProj->workslike & PROJECTILE_SPIT)
|
if (pProj->workslike & PROJECTILE_SPIT)
|
||||||
P_HandleBeingSpitOn(g_player[playerNum].ps);
|
P_HandleBeingSpitOn(g_player[playerNum].ps);
|
||||||
}
|
}
|
||||||
|
@ -3341,8 +3342,10 @@ static int P_Submerge(int const spriteNum, int const playerNum, DukePlayer_t * c
|
||||||
S_ClearSoundLocks();
|
S_ClearSoundLocks();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef EDUKE32_STANDALONE
|
||||||
if (sprite[pPlayer->i].extra > 0)
|
if (sprite[pPlayer->i].extra > 0)
|
||||||
A_PlaySound(DUKE_UNDERWATER, spriteNum);
|
A_PlaySound(DUKE_UNDERWATER, spriteNum);
|
||||||
|
#endif
|
||||||
|
|
||||||
pPlayer->opos.z = pPlayer->pos.z = sector[otherSect].ceilingz;
|
pPlayer->opos.z = pPlayer->pos.z = sector[otherSect].ceilingz;
|
||||||
|
|
||||||
|
@ -3369,7 +3372,9 @@ static int P_Emerge(int const spriteNum, int const playerNum, DukePlayer_t * con
|
||||||
S_ClearSoundLocks();
|
S_ClearSoundLocks();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef EDUKE32_STANDALONE
|
||||||
A_PlaySound(DUKE_GASP, spriteNum);
|
A_PlaySound(DUKE_GASP, spriteNum);
|
||||||
|
#endif
|
||||||
|
|
||||||
pPlayer->opos.z = pPlayer->pos.z = sector[otherSect].floorz;
|
pPlayer->opos.z = pPlayer->pos.z = sector[otherSect].floorz;
|
||||||
pPlayer->vel.z = 0;
|
pPlayer->vel.z = 0;
|
||||||
|
|
Loading…
Reference in a new issue