Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.
/ DF Public archive

Commit

Permalink
flag return message fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed May 16, 2015
1 parent a01544c commit bc6b063
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DF Sources/g_netmsg.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,11 @@ procedure MC_RECV_FlagEvent(P: Pointer);
g_Map_ResetFlag(Fl);
if Quiet or (Pl = nil) then Exit;

if Fl = FLAG_RED then
s := _lc[I_PLAYER_FLAG_RED]
else
s := _lc[I_PLAYER_FLAG_BLUE];

g_Game_Message(Format(_lc[I_MESSAGE_FLAG_RETURN], [AnsiUpperCase(s)]), 144);
end;
end;
Expand Down

0 comments on commit bc6b063

Please sign in to comment.