From: Mario Date: Mon, 26 Oct 2015 00:43:37 +0000 (+1000) Subject: Precache it too X-Git-Tag: xonotic-v0.8.2~1790 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9da946abd664136c6df7a5b8decf5097b3389134;p=xonotic%2Fxonotic-data.pk3dir.git Precache it too --- diff --git a/qcsrc/common/triggers/func/door.qc b/qcsrc/common/triggers/func/door.qc index 921642406..e05351b09 100644 --- a/qcsrc/common/triggers/func/door.qc +++ b/qcsrc/common/triggers/func/door.qc @@ -736,6 +736,7 @@ spawnfunc(func_door) if(self.noise == "") self.noise = "misc/talk.wav"; + precache_sound(self.noise); self.blocked = door_blocked; self.use = door_use; diff --git a/qcsrc/common/triggers/func/door_secret.qc b/qcsrc/common/triggers/func/door_secret.qc index ac7361951..a0b70eceb 100644 --- a/qcsrc/common/triggers/func/door_secret.qc +++ b/qcsrc/common/triggers/func/door_secret.qc @@ -212,6 +212,7 @@ spawnfunc(func_door_secret) if(self.noise == "") self.noise = "misc/talk.wav"; + precache_sound(self.noise); self.touch = secret_touch; self.blocked = secret_blocked;