fix sentry bullet misattribution
authoralfadur
Sat, 16 Oct 2021 02:52:06 +0300
changeset 15823 744f4d708963
parent 15822 4ede5e84278a
child 15824 681db3039ad7
fix sentry bullet misattribution
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Sat Oct 16 02:39:22 2021 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Sat Oct 16 02:52:06 2021 +0300
@@ -7354,6 +7354,7 @@
     bullet^.Elasticity := Sentry^.X;
     bullet^.Friction := Sentry^.Y;
     bullet^.Data := Pointer(Sentry);
+    bullet^.Hedgehog := Sentry^.Hedgehog;
 
     CreateShellForGear(Sentry, Sentry^.WDTimer and 1);
     PlaySound(sndGun);