mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-28 14:52:29 +00:00
SERVER: Remove substring check for ambient_generic
This commit is contained in:
parent
106d2d3019
commit
fedc19c05a
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ void () ambient_generic =
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// append sounds/ if absent
|
// append sounds/ if absent
|
||||||
if (substring(self.message, 0, 7) != "sounds/")
|
//if (substring(self.message, 0, 7) != "sounds/")
|
||||||
self.message = strcat("sounds/", self.message);
|
//self.message = strcat("sounds/", self.message);
|
||||||
|
|
||||||
// always assume .wav extension..
|
// always assume .wav extension..
|
||||||
precache_sound(self.message);
|
precache_sound(self.message);
|
||||||
|
|
Loading…
Reference in a new issue