From: Mario Date: Wed, 18 Jan 2017 04:42:18 +0000 (+1000) Subject: Fix a backwards check X-Git-Tag: xonotic-v0.8.2~285 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=898d293bf8347655d73bf4a2db060e8bc4719505;p=xonotic%2Fxonotic-data.pk3dir.git Fix a backwards check --- diff --git a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc index 4df42406d..edd970126 100644 --- a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc +++ b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc @@ -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";