hedgewars/uAmmos.pas
changeset 11939 c7ec309cd685
parent 11534 0ead3a2e0309
child 12156 9755922396f5
--- a/hedgewars/uAmmos.pas	Sat Nov 19 21:17:48 2016 +0100
+++ b/hedgewars/uAmmos.pas	Mon May 09 22:49:31 2016 +0200
@@ -397,7 +397,10 @@
 
     with CurWeapon^ do
         begin
-        s:= trammo[Ammoz[AmmoType].NameId];
+        if length(trluaammo[Ammoz[AmmoType].NameId]) > 0 then
+            s:= trluaammo[Ammoz[AmmoType].NameId]
+        else
+            s:= trammo[Ammoz[AmmoType].NameId];
         if (Count <> AMMO_INFINITE) and (not (Hedgehog.Team^.ExtDriven or (Hedgehog.BotLevel > 0))) then
             s:= s + ansistring(' (' + IntToStr(Count) + ')');
         if (Propz and ammoprop_Timerable) <> 0 then