- Added support for damage-specific player pain sounds.
- Removed the constraint that all $playerreserve SNDINFO commands must come before the other $player commands. - Fixed: TArray::Reserve did not construct its newly allocated entries. - Changed the damage type for drowning from 'Water' to 'Drowning'. SVN r466 (trunk)
This commit is contained in:
parent
ba5e77e021
commit
72c93b479e
13 changed files with 233 additions and 46 deletions
|
|
@ -2132,7 +2132,7 @@ void P_PlayerThink (player_t *player)
|
|||
}
|
||||
else if (player->air_finished <= level.time && !(level.time & 31))
|
||||
{
|
||||
P_DamageMobj (player->mo, NULL, NULL, 2 + 2*((level.time-player->air_finished)/TICRATE), NAME_Water);
|
||||
P_DamageMobj (player->mo, NULL, NULL, 2 + 2*((level.time-player->air_finished)/TICRATE), NAME_Drowning);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue