hedgewars/uCommandHandlers.pas
branchhedgeroid
changeset 5356 bf058f0a77d6
parent 5247 bf6d4bc531d2
child 5381 8f95038f3f75
equal deleted inserted replaced
5353:37b0fb82e22c 5356:bf058f0a77d6
    82 begin
    82 begin
    83 if isDeveloperMode then
    83 if isDeveloperMode then
    84 begin
    84 begin
    85 val(s, i, c);
    85 val(s, i, c);
    86 if (c <> 0) or (i = 0) then exit;
    86 if (c <> 0) or (i = 0) then exit;
    87 TryDo(i <= cNetProtoVersion, 'Protocol version mismatch: engine is too old', true);
    87 //TryDo(i <= cNetProtoVersion, 'Protocol version mismatch: engine is too old', true);
    88 TryDo(i >= cNetProtoVersion, 'Protocol version mismatch: engine is too new', true)
    88 //TryDo(i >= cNetProtoVersion, 'Protocol version mismatch: engine is too new', true)
    89 end
    89 end
    90 end;
    90 end;
    91 
    91 
    92 procedure chTeamLocal(var s: shortstring);
    92 procedure chTeamLocal(var s: shortstring);
    93 begin
    93 begin