hedgewars/uIO.pas
changeset 3611 ed00aa2b339e
parent 3407 dcc129c4352e
child 3676 fa29572fa56a
--- a/hedgewars/uIO.pas	Fri Jul 02 17:46:53 2010 +0200
+++ b/hedgewars/uIO.pas	Sat Jul 03 00:11:23 2010 +0200
@@ -22,7 +22,7 @@
 interface
 uses SDLh;
 
-var ipcPort: Word;
+var ipcPort: Word = 0;
     hiTicks: Word;
 
 procedure initModule;
@@ -361,11 +361,11 @@
 
     hiTicks:= 0;
     SendEmptyPacketTicks:= 0;
-    ipcPort:= 0;
 end;
 
 procedure freeModule;
 begin
+    ipcPort:= 0;
 
 end;