mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 07:12:20 +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 (!roundinit) {
|
||||||
if (self.cost) {
|
if (self.cost) {
|
||||||
self.classname = "door_nzp_cost";
|
self.classname = "door_nzp_cost";
|
||||||
precache_sound("sounds/misc/ching.wav");
|
|
||||||
switch(self.sounds)
|
switch(self.sounds)
|
||||||
{
|
{
|
||||||
case 1: precache_sound("sounds/misc/wood_door.wav"); break;
|
case 1: precache_sound("sounds/misc/wood_door.wav"); break;
|
||||||
|
|
|
@ -445,6 +445,4 @@ void() buy_weapon =
|
||||||
self.nextthink = time + 0.2;
|
self.nextthink = time + 0.2;
|
||||||
|
|
||||||
ach_tracker_col2++;
|
ach_tracker_col2++;
|
||||||
|
|
||||||
precache_sound("sounds/misc/ching.wav");
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -272,6 +272,7 @@ void() precaches =
|
||||||
precache_sound("sounds/music/end.wav");
|
precache_sound("sounds/music/end.wav");
|
||||||
|
|
||||||
// purchasing
|
// purchasing
|
||||||
|
precache_sound("sounds/misc/ching.wav");
|
||||||
precache_sound("sounds/misc/buy.wav");
|
precache_sound("sounds/misc/buy.wav");
|
||||||
precache_sound("sounds/misc/denybuy.wav");
|
precache_sound("sounds/misc/denybuy.wav");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue