]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a backwards check
authorMario <mario@smbclan.net>
Wed, 18 Jan 2017 04:42:18 +0000 (14:42 +1000)
committerMario <mario@smbclan.net>
Wed, 18 Jan 2017 04:42:18 +0000 (14:42 +1000)
qcsrc/common/mutators/mutator/buffs/sv_buffs.qc

index 4df42406d064fd9f737f0947efa522aa79aecd26..edd970126c5a8ec1c467b1f3a2850c70bb042ce8 100644 (file)
@@ -343,7 +343,7 @@ void buff_Init(entity this)
 
        entity buff = buff_FirstFromFlags(this.buffs);
 
-       if(!this.buffs || buff_Available(buff))
+       if(!this.buffs || !buff_Available(buff))
                buff_NewType(this, 0);
 
        this.classname = "item_buff";