SprayLogo: Add "player.spraylogo" soundDef call instead of sound().
This commit is contained in:
parent
0c802295c3
commit
94679f3a3f
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue