# HG changeset patch # User nemo # Date 1434144500 14400 # Node ID fd172f166de49a45f30d8574df30ddbf0122226c # Parent 995ecbdf72de38ab4096ef50c788681d7c9c85c2 Just to prevent airmines from stealing camera when they blow up... but really what is needed I think is forcing camera to stay on current hedgehog if you are the active player. either all the time, or at least if you are on rope/saucer. diff -r 995ecbdf72de -r fd172f166de4 hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Thu Jun 11 03:31:33 2015 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Fri Jun 12 17:28:20 2015 -0400 @@ -1914,7 +1914,9 @@ (hwRound(hwSqr(tX) + hwSqr(tY)) < sqr(Gear^.Karma)) then begin Gear^.Hedgehog:= CurrentHedgehog; + tmpG:= FollowGear; doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), Gear^.Karma, Gear^.Hedgehog, EXPLAutoSound); + FollowGear:= tmpG; DeleteGear(Gear); exit end