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);
}
}
}
- 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++)