Make barrels drop when hog walks away from under it
authorunc0rr
Tue, 04 Jan 2011 16:15:47 +0300
changeset 4813 53c2f0f92281
parent 4811 3edc0cdcfe03
child 4815 f2a3e1a51f4d
Make barrels drop when hog walks away from under it
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Tue Jan 04 01:21:30 2011 +0100
+++ b/hedgewars/uGears.pas	Tue Jan 04 16:15:47 2011 +0300
@@ -1052,7 +1052,7 @@
 t:= GearsList;
 while t <> nil do
     begin
-    if t^.Kind = gtHedgehog then t^.Active:= true;
+    if (t^.Kind = gtHedgehog) or (t^.Kind = gtExplosives) then t^.Active:= true;
     t:= t^.NextGear
     end
 end;