- Fixed: When Heretic's Mace was replaced by a non-child class A_SpawnMace still
treated it as a mace and wrote into some undefined memory. - Fixed: A_BishopMissileWeave didn't initialize special2 for proper movement. - Added a speed parameter to A_SkullAttack. - Fixed: Black as first or only blood color didn't work. - Fixed: Sounds played in wi_stuff.cpp and f_finale.cpp need the CHAN_UI flag. - Fixed: Spawning a player could play the *gasp sound. - Fixed: SBARINFO's health display didn't scale to the proper maximum. - Added Skulltag's Teleport_NoStop action special. SVN r1074 (trunk)
This commit is contained in:
parent
a5c52d8371
commit
5dc42121b7
19 changed files with 143 additions and 84 deletions
|
|
@ -920,11 +920,11 @@ bool APlayerPawn::UpdateWaterLevel (fixed_t oldz, bool splash)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
bool APlayerPawn::ResetAirSupply ()
|
||||
bool APlayerPawn::ResetAirSupply (bool playgasp)
|
||||
{
|
||||
bool wasdrowning = (player->air_finished < level.time);
|
||||
|
||||
if (wasdrowning)
|
||||
if (playgasp && wasdrowning)
|
||||
{
|
||||
S_Sound (this, CHAN_VOICE, "*gasp", 1, ATTN_NORM);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue