# HG changeset patch # User Wuzzy # Date 1542553818 -3600 # Node ID 9c5ada6431ebfbc6f0ab4d2a2655333eac6678b3 # Parent 43aa37d36f7388b082b85131cc8a53954e4a5c20 Display game scheme settings in Pas2C, too diff -r 43aa37d36f73 -r 9c5ada6431eb 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;