mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 20:01:34 +00:00
SERVER: convert bad misc/buy.wav on teddy_spawn
This commit is contained in:
parent
b3388f382f
commit
72631d96a8
1 changed files with 5 additions and 2 deletions
|
@ -132,8 +132,11 @@ void() teddy_spawn =
|
|||
self.health = 0;
|
||||
self.th_die = teddy_react;
|
||||
|
||||
if (self.noise)
|
||||
if (self.noise) {
|
||||
// FIXME: make a convert_old_sound_path function like we do for models.
|
||||
if (self.noise == "misc/buy.wav") self.noise = "sounds/misc/buy.wav";
|
||||
precache_sound (self.noise);
|
||||
}
|
||||
};
|
||||
|
||||
/* ==================
|
||||
|
|
Loading…
Reference in a new issue