invalidate on switch
authornemo
Wed, 28 Mar 2012 16:33:50 -0400
changeset 6833 a4f75b36d70d
parent 6832 fae8fd118da9
child 6834 2af81d3b176d
invalidate on switch
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Wed Mar 28 01:56:42 2012 +0200
+++ b/hedgewars/GSHandlers.inc	Wed Mar 28 16:33:50 2012 -0400
@@ -2751,6 +2751,7 @@
         until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil) and (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear^.Damage = 0);
 
         CurrentHedgehog := @CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog];
+        AmmoMenuInvalidated:= true; 
 
         HHGear := CurrentHedgehog^.Gear;
         HHGear^.State := State;