SprayLogo: Add "player.spraylogo" soundDef call instead of sound().

This commit is contained in:
Marco Cawthorne 2022-04-28 12:34:28 -07:00
parent 0c802295c3
commit 94679f3a3f
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,8 @@ CSEv_Spraylogo(void)
spray.angles = vectoangles(co, trace_plane_normal);
spray.SendEntity = Spray_SendEntity;
spray.SendFlags = 1;
sound(self, CHAN_VOICE, "player/sprayer.wav", 1.0, ATTN_NORM);
Sound_Play(self, CHAN_VOICE, "player.spraylogo");
}
#endif

View File

@ -482,6 +482,7 @@ initents(void)
Sound_Precache("player.waterenter");
Sound_Precache("player.waterexit");
Sound_Precache("damage_bullet.hit");
Sound_Precache("player.spraylogo");
Game_InitRules();
Game_Worldspawn();