hedgewars/uIO.pas
changeset 208 a049157d673a
parent 196 993cf173218b
child 351 29bc9c36ad5f
--- a/hedgewars/uIO.pas	Fri Oct 27 19:37:59 2006 +0000
+++ b/hedgewars/uIO.pas	Fri Oct 27 22:07:38 2006 +0000
@@ -134,7 +134,10 @@
 
 procedure SendIPCRaw(p: pointer; len: Longword);
 begin
-SDLNet_TCP_Send(IPCSock, p, len)
+if IPCSock <> nil then
+   begin
+   SDLNet_TCP_Send(IPCSock, p, len)
+   end
 end;
 
 procedure SendIPCXY(cmd: char; X, Y: SmallInt);