# HG changeset patch # User unc0rr # Date 1335297401 -14400 # Node ID 1fbf9266ba5256164dc7f2dbd4894dc2520271af # Parent 57b66ee3bff3f29e2d286734f56d39321f1310b5 Fix GetAmmoEntry in PascalExports diff -r 57b66ee3bff3 -r 1fbf9266ba52 hedgewars/PascalExports.pas --- 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);