]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
IS_REAL_CLIENT here too
authorterencehill <piuntn@gmail.com>
Tue, 10 Oct 2017 19:49:28 +0000 (21:49 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 10 Oct 2017 19:49:28 +0000 (21:49 +0200)
qcsrc/common/triggers/func/breakable.qc

index 79c2feb4eab85b8115a0ddcd00270a26323d7c81..6e0c2b3a3119fd690aa4bc54ef3f2a2009883a47 100644 (file)
@@ -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);