hedgewars/uCommandHandlers.pas
branchhedgeroid
changeset 5381 8f95038f3f75
parent 5356 bf058f0a77d6
child 5385 a864a0aeed96
equal deleted inserted replaced
5379:4ed99dc92763 5381:8f95038f3f75
    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