Display game scheme settings in Pas2C, too
authorWuzzy <Wuzzy2@mail.ru>
Sun, 18 Nov 2018 16:10:18 +0100
changeset 14230 9c5ada6431eb
parent 14229 43aa37d36f73
child 14231 545b85c0f2e3
Display game scheme settings in Pas2C, too
hedgewars/uWorld.pas
--- 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;