From: terencehill Date: Tue, 10 Oct 2017 19:49:28 +0000 (+0200) Subject: IS_REAL_CLIENT here too X-Git-Tag: xonotic-v0.8.5~2453 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=69ed97aee8a32e623c564996a1382904c15adae5;p=xonotic%2Fxonotic-data.pk3dir.git IS_REAL_CLIENT here too --- 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);