home · contact · privacy
Fixed some more pitfalls that hurt working with game maps of maximum size.
[plomrogue] / src / server / io.c
index 2507d3b1e3e3a0faee7842261e1f572e8927fedc..1de0bd07c9b6367fadc917bde2f19f500d341fdb 100644 (file)
@@ -203,7 +203,7 @@ static void write_map(FILE * file)
             }
         }
     }
-    uint8_t x, y;
+    uint16_t x, y;
     for (y = 0; y < world.map.size.y; y++)
     {
         for (x = 0; x < world.map.size.x; x++)