Ignore:
Timestamp:
May 18, 2018, 12:54:37 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Player turn start/end signaling from server to clients.
  • Added: Save action to save game without opening save dialog.
  • Fixed: Move dialog was not opened after new game was created.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGameProtocol.pas

    r202 r203  
    7373begin
    7474  Data := TVarBlockSerializer.Create;
    75   Data.ReadVarList(Stream);
     75  Data.WriteVarList(Stream);
    7676  Data.Stream.Position := 0;
    77   Command := Data.ReadVarSInt;
     77  Command := Data.ReadVarUInt;
    7878  try
    7979    if Command = Integer(cmdTextMessage) then begin
     
    143143  Data.WriteVarList(Stream);
    144144  Data.Stream.Position := 0;
    145   Command := Data.ReadVarSInt;
     145  Command := Data.ReadVarUInt;
    146146  try
    147147    if Command = Integer(cmdGameStart) then begin
Note: See TracChangeset for help on using the changeset viewer.