PMove: swap heavy and light gasping sounds with each other
This commit is contained in:
parent
b06544aacc
commit
ac0e739170
1 changed files with 2 additions and 2 deletions
|
@ -244,9 +244,9 @@ NSClientPlayer::Physics_WaterMove(void)
|
||||||
/* we've just exited water */
|
/* we've just exited water */
|
||||||
if (WaterLevel() != 3) {
|
if (WaterLevel() != 3) {
|
||||||
if (m_flUnderwaterTime < time) {
|
if (m_flUnderwaterTime < time) {
|
||||||
Sound_Play(this, CHAN_BODY, "player.gasplight");
|
|
||||||
} else if (m_flUnderwaterTime < time + 9) {
|
|
||||||
Sound_Play(this, CHAN_BODY, "player.gaspheavy");
|
Sound_Play(this, CHAN_BODY, "player.gaspheavy");
|
||||||
|
} else if (m_flUnderwaterTime < time + 9) {
|
||||||
|
Sound_Play(this, CHAN_BODY, "player.gasplight");
|
||||||
}
|
}
|
||||||
m_flUnderwaterTime = time + 12;
|
m_flUnderwaterTime = time + 12;
|
||||||
} else if (m_flUnderwaterTime < time) {
|
} else if (m_flUnderwaterTime < time) {
|
||||||
|
|
Loading…
Reference in a new issue