mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 03:41:15 +00:00
SERVER: Make ching.wav precache global
It's used in too many places to precache on a per-entity basis reliably.
This commit is contained in:
parent
a6f1223b01
commit
3dffb7f245
3 changed files with 1 additions and 3 deletions
|
@ -663,7 +663,6 @@ void() func_door_nzp =
|
|||
if (!roundinit) {
|
||||
if (self.cost) {
|
||||
self.classname = "door_nzp_cost";
|
||||
precache_sound("sounds/misc/ching.wav");
|
||||
switch(self.sounds)
|
||||
{
|
||||
case 1: precache_sound("sounds/misc/wood_door.wav"); break;
|
||||
|
|
|
@ -445,6 +445,4 @@ void() buy_weapon =
|
|||
self.nextthink = time + 0.2;
|
||||
|
||||
ach_tracker_col2++;
|
||||
|
||||
precache_sound("sounds/misc/ching.wav");
|
||||
};
|
||||
|
|
|
@ -272,6 +272,7 @@ void() precaches =
|
|||
precache_sound("sounds/music/end.wav");
|
||||
|
||||
// purchasing
|
||||
precache_sound("sounds/misc/ching.wav");
|
||||
precache_sound("sounds/misc/buy.wav");
|
||||
precache_sound("sounds/misc/denybuy.wav");
|
||||
|
||||
|
|
Loading…
Reference in a new issue