hedgewars/HHHandlers.inc
changeset 3837 47a623d9cdaa
parent 3836 833c0f32e326
child 3842 fc94291ca1d9
--- a/hedgewars/HHHandlers.inc	Mon Sep 06 16:23:47 2010 -0400
+++ b/hedgewars/HHHandlers.inc	Mon Sep 06 18:22:48 2010 -0400
@@ -774,7 +774,7 @@
             end;
 
 if (CurAmmoGear = nil)
-    or ((Ammoz[Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then
+    or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then
     begin
     if ((Gear^.Message and gm_Slot) <> 0) then
         begin