extern void cleanup()
{
- char * f_name = "cleanup()";
free(world.map.cells);
+ free(world.mem_map);
free(world.log);
free(world.player_inventory);
if (cleanup_flags & CLEANUP_INTERFACE)
}
if (cleanup_flags & CLEANUP_SERVER_IN)
{
- try_fclose(world.file_server_in, f_name);
+ try_fclose(world.file_server_in, __func__);
}
if (cleanup_flags & CLEANUP_SERVER_OUT)
{
- try_fclose(world.file_server_out, f_name);
+ try_fclose(world.file_server_out, __func__);
}
}