hedgewars/uCommandHandlers.pas
branchhedgeroid
changeset 5381 8f95038f3f75
parent 5356 bf058f0a77d6
child 5385 a864a0aeed96
--- a/hedgewars/uCommandHandlers.pas	Tue Jun 28 18:33:51 2011 +0200
+++ b/hedgewars/uCommandHandlers.pas	Wed Jun 29 18:05:04 2011 +0200
@@ -84,8 +84,8 @@
 begin
 val(s, i, c);
 if (c <> 0) or (i = 0) then exit;
-//TryDo(i <= cNetProtoVersion, 'Protocol version mismatch: engine is too old', true);
-//TryDo(i >= cNetProtoVersion, 'Protocol version mismatch: engine is too new', true)
+TryDo(i <= cNetProtoVersion, 'Protocol version mismatch: engine is too old', true);
+TryDo(i >= cNetProtoVersion, 'Protocol version mismatch: engine is too new', true)
 end
 end;