hedgewars/PascalExports.pas
changeset 6925 1fbf9266ba52
parent 6825 aca4a6807ecc
child 6954 a61458a81480
--- a/hedgewars/PascalExports.pas	Tue Apr 24 23:50:40 2012 +0400
+++ b/hedgewars/PascalExports.pas	Tue Apr 24 23:56:41 2012 +0400
@@ -276,7 +276,7 @@
 begin
     if HW_isWeaponTimerable then
     begin
-        CurWeapon:= GetAmmoEntry(CurrentHedgehog^);
+        CurWeapon:= GetCurAmmoEntry(CurrentHedgehog^);
         res:= CurWeapon^.Timer div 1000;
     end;
     exit(res);