]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed noalign handling in Instagib. 520/head
authorLyberta <lyberta@lyberta.net>
Sat, 20 Jan 2018 16:11:26 +0000 (19:11 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 20 Jan 2018 16:11:26 +0000 (19:11 +0300)
qcsrc/common/mutators/mutator/instagib/sv_instagib.qc

index 473e36e1057589e689c3f961645f7721126231e1..81384380516bf4eba48cfcd733fc8360adf30dc6 100644 (file)
@@ -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;