From 69ed97aee8a32e623c564996a1382904c15adae5 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 10 Oct 2017 21:49:28 +0200 Subject: [PATCH] IS_REAL_CLIENT here too --- qcsrc/common/triggers/func/breakable.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/triggers/func/breakable.qc b/qcsrc/common/triggers/func/breakable.qc index 79c2feb4e..6e0c2b3a3 100644 --- a/qcsrc/common/triggers/func/breakable.qc +++ b/qcsrc/common/triggers/func/breakable.qc @@ -178,7 +178,7 @@ void func_breakable_behave_restore(entity this) void func_breakable_init_for_player(entity this, entity player) { - if (this.noise1 && this.state == 0 && clienttype(player) == CLIENTTYPE_REAL) + if (this.noise1 && this.state == 0 && IS_REAL_CLIENT(player)) { msg_entity = player; soundto (MSG_ONE, this, CH_TRIGGER_SINGLE, this.noise1, VOL_BASE, ATTEN_NORM); -- 2.39.2