mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
SERVER: Play ching.wav when purchasing Bowie Knife
This commit is contained in:
parent
bee0e764fc
commit
493a29395f
1 changed files with 2 additions and 1 deletions
|
@ -335,6 +335,7 @@ void () WallWeapon_TouchTrigger =
|
||||||
} else {
|
} else {
|
||||||
W_HideCrosshair(other);
|
W_HideCrosshair(other);
|
||||||
addmoney(other, -self.cost2, FALSE);
|
addmoney(other, -self.cost2, FALSE);
|
||||||
|
sound(other, 0, "sounds/misc/ching.wav", 1, 1);
|
||||||
other.ach_tracker_coll++;
|
other.ach_tracker_coll++;
|
||||||
if (self.enemy)
|
if (self.enemy)
|
||||||
{
|
{
|
||||||
|
@ -446,4 +447,4 @@ void() buy_weapon =
|
||||||
ach_tracker_col2++;
|
ach_tracker_col2++;
|
||||||
|
|
||||||
precache_sound("sounds/misc/ching.wav");
|
precache_sound("sounds/misc/ching.wav");
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue