Register sound shaders for gasp/water pmove sounds

This commit is contained in:
Marco Cawthorne 2021-03-13 04:22:16 +01:00
parent 977b336a9b
commit 88ca098c51
3 changed files with 18 additions and 2 deletions

View file

@ -60,6 +60,8 @@ void item_ammo::Respawn(void)
void item_ammo::item_ammo(void)
{
Sound_Precache("ammo.pickup");
Sound_Precache("ammo.respawn");
precache_model(model);
m_oldModel = model;
SetModel(m_oldModel);

View file

@ -27,8 +27,6 @@ Game_InitRules(void)
void
Game_Worldspawn(void)
{
Sound_Precache("ammo.pickup");
Sound_Precache("ammo.respawn");
Sound_Precache("player.die");
Sound_Precache("player.fall");
Sound_Precache("player.lightfall");

View file

@ -10,3 +10,19 @@ player.die
{
sample fvox/flatline.wav
}
player.gasplight
{
sample misc/null.wav
}
player.gaspheavy
{
sample misc/null.wav
}
player.waterexit
{
sample misc/null.wav
}
player.waterenter
{
sample misc/null.wav
}