From: Lyberta Date: Sat, 20 Jan 2018 16:11:26 +0000 (+0300) Subject: Fixed noalign handling in Instagib. X-Git-Tag: xonotic-v0.8.5~2381^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F520%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git Fixed noalign handling in Instagib. --- diff --git a/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc b/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc index 473e36e10..813843805 100644 --- a/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc +++ b/qcsrc/common/mutators/mutator/instagib/sv_instagib.qc @@ -387,7 +387,7 @@ void replace_with_insta_cells(entity item) { entity e = new(item_vaporizer_cells); setorigin(e, item.origin); - e.noalign = item.noalign; + e.noalign = Item_ShouldKeepPosition(item); e.cnt = item.cnt; e.team = item.team; e.spawnfunc_checked = true;