home · contact · privacy
Fixed some more pitfalls that hurt working with game maps of maximum size.
[plomrogue] / src / server / map.c
index 9b0f29422b8564d3476b4f9223560413aa912d81..8bae81a4a47b159233fbeb8d6a73fe6d296b06ab 100644 (file)
@@ -14,7 +14,7 @@ extern void init_map()
     char * f_name = "init_map()";
     uint32_t size = world.map.size.x * world.map.size.y;
     world.map.cells = try_malloc(size, f_name);
-    uint8_t y, x;
+    uint16_t y, x;
     for (y = 0; y < world.map.size.y; y++)
     {
         for (x = 0;