don't need the camera following invisible stuff (maybe this should be in the general camera routine?)
authornemo
Fri, 20 Jul 2012 17:43:35 -0400
changeset 7408 38d369c59d51
parent 7407 c1ade666c124
child 7409 fd91aa100ce0
don't need the camera following invisible stuff (maybe this should be in the general camera routine?)
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Fri Jul 20 15:12:47 2012 -0400
+++ b/hedgewars/GSHandlers.inc	Fri Jul 20 17:43:35 2012 -0400
@@ -4319,7 +4319,7 @@
         and (CurAmmoGear^.Kind =gtRope) then
                CurAmmoGear^.PortalCounter:= 1;
 
-        if not isbullet
+        if not isbullet and (iterator^.State and gstInvisible = 0) 
         and (iterator^.Kind <> gtFlake) then
             FollowGear := iterator;