hedgewars/uWorld.pas
changeset 2226 e35b62cb7a1c
parent 2224 4f3e7bd31841
child 2268 053eb81e60ee
--- a/hedgewars/uWorld.pas	Sun Jul 05 13:44:11 2009 +0000
+++ b/hedgewars/uWorld.pas	Sun Jul 05 16:37:05 2009 +0000
@@ -85,6 +85,7 @@
 if (TurnTimeLeft = 0) or (((CurAmmoGear = nil) or ((CurAmmoGear^.Ammo^.Propz and ammoprop_AltAttack) = 0)) and KbdKeyPressed) then bShowAmmoMenu:= false;
 if bShowAmmoMenu then
    begin
+   FollowGear:= nil;
    if AMxShift = 210 then prevPoint.X:= 0;
    if cReducedQuality then
        AMxShift:= 0