home · contact · privacy
Some code-internal restructuring following the assumption that game map height /
[plomrogue] / src / client / io.c
index c86ff843e38d2b41917d3e3da3722ad79b987ff1..2b1c165eb0435c78a37737e94f5250d3361820c3 100644 (file)
@@ -110,7 +110,7 @@ static void read_map_cells(FILE * file)
     char * f_name = "read_map_cells()";
     free(world.map.cells);
     world.map.cells = try_malloc(world.map.size.y * world.map.size.x, f_name);
-    uint16_t y, x;
+    uint8_t y, x;
     for (y = 0; y < world.map.size.y; y++)
     {
         for (x = 0; x < world.map.size.x; x++)