home · contact · privacy
Removed unused parameter.
[plomrogue] / src / server / io.c
index 2507d3b1e3e3a0faee7842261e1f572e8927fedc..177c2952faca109802c355b36eb8c22d6a1607ef 100644 (file)
@@ -126,7 +126,6 @@ static void update_out_file()
     FILE * file = try_fopen(path_tmp, "w", f_name);
     struct MapObj * player = get_player();
     write_value_as_line(world.turn, file);
-    write_value_as_line(world.score, file);
     write_value_as_line(player->lifepoints, file);
     write_inventory(player, file);
     write_value_as_line(player->pos.y, file);
@@ -203,7 +202,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++)