Fixed constant gasping sound when you die in shallow water

This commit is contained in:
Richard Allen 2002-08-03 07:04:18 +00:00
parent ae1cf584c2
commit 2afe093ddb
2 changed files with 7 additions and 1 deletions

View file

@ -21,6 +21,7 @@
* Fixed the Akimbo ammo when akimbos are not the primary weapon. * Fixed the Akimbo ammo when akimbos are not the primary weapon.
* Fixed plost3 radio sounds in all radiopaks. * Fixed plost3 radio sounds in all radiopaks.
* Damage is now only tracked for players hit that are not on your team. * Damage is now only tracked for players hit that are not on your team.
* Fixed constant gasping sound when you die in shallow water
# List fixes here for the 2.1 release # List fixes here for the 2.1 release

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.88 2002/08/03 07:04:18 jbravo
// Fixed constant gasping sound when you die in shallow water
//
// Revision 1.87 2002/07/22 06:33:58 niceass // Revision 1.87 2002/07/22 06:33:58 niceass
// cleaned up the powerup code // cleaned up the powerup code
// //
@ -2964,6 +2967,8 @@ void PmoveSingle(pmove_t * pmove)
PM_Footsteps(); PM_Footsteps();
// entering / leaving water splashes // entering / leaving water splashes
// JBravo: only if you are alive
if (pm->ps->stats[STAT_HEALTH] > 0)
PM_WaterEvents(); PM_WaterEvents();
// snap some parts of playerstate to save network bandwidth // snap some parts of playerstate to save network bandwidth