hedgewars/uWorld.pas
changeset 14230 9c5ada6431eb
parent 14009 97e48a6c2535
child 14286 e754b516cc35
--- a/hedgewars/uWorld.pas	Sun Nov 18 15:48:04 2018 +0100
+++ b/hedgewars/uWorld.pas	Sun Nov 18 16:10:18 2018 +0100
@@ -121,22 +121,18 @@
 function AddGoal(s: ansistring; gf: longword; si: TGoalStrId; i: LongInt): ansistring;
 var t: ansistring;
 begin
-{$IFNDEF PAS2C}
     if (GameFlags and gf) <> 0 then
         begin
         t:= inttostr(i);
         s:= s + FormatA(trgoal[si], t) + '|'
         end;
-{$ENDIF}
     AddGoal:= s;
 end;
 
 function AddGoal(s: ansistring; gf: longword; si: TGoalStrId): ansistring;
 begin
-{$IFNDEF PAS2C}
     if (GameFlags and gf) <> 0 then
         s:= s + trgoal[si] + '|';
-{$ENDIF}
     AddGoal:= s;
 end;