added separate network info structure for network options and setup values
[rocksndiamonds.git] / src / network.c
index b55e68e7a584d5a017cd97c4faa0fe8feb99a67d..742cea5792e6a0cd639b851b12a4c92f2916c329 100644 (file)
@@ -56,7 +56,7 @@ static boolean stop_network_game = FALSE;
 
 static void SendBufferToServer(int size)
 {
-  if (!options.network)
+  if (!network.enabled)
     return;
 
   realbuffer[0] = realbuffer[1] = realbuffer[2] = 0;