hedgewars/uGearsList.pas
changeset 13096 d78e65c66573
parent 12898 8a40ce061d94
child 13154 44351ea57b71
--- a/hedgewars/uGearsList.pas	Wed Mar 07 20:27:42 2018 +0100
+++ b/hedgewars/uGearsList.pas	Wed Mar 07 22:47:55 2018 +0100
@@ -315,6 +315,8 @@
                 if (GameFlags and gfAISurvival) <> 0 then
                     if gear^.Hedgehog^.BotLevel > 0 then
                         gear^.Hedgehog^.Effects[heResurrectable] := 1;
+                if (GameFlags and gfArtillery) <> 0 then
+                    gear^.Hedgehog^.Effects[heArtillery] := 1;
                 // this would presumably be set in the frontend
                 // if we weren't going to do that yet, would need to reinit GetRandom
                 // oh, and, randomising slightly R and B might be nice too.