mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 21:02:14 +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 {
|
||||
// append sounds/ if absent
|
||||
if (substring(self.message, 0, 7) != "sounds/")
|
||||
self.message = strcat("sounds/", self.message);
|
||||
//if (substring(self.message, 0, 7) != "sounds/")
|
||||
//self.message = strcat("sounds/", self.message);
|
||||
|
||||
// always assume .wav extension..
|
||||
precache_sound(self.message);
|
||||
|
|
Loading…
Reference in a new issue