home · contact · privacy
Replaced dummy function by just passing NULL and checking for it.
[plomrogue] / src / misc.c
index 8d38d59c383297ef3be00af1f3f67ce562d5e01c..cff42644ca1abe26ff8f9d4997a03d542aa46168 100644 (file)
@@ -93,7 +93,7 @@ extern void save_game(struct World * world) {
   write_uint16_bigendian(world->player->pos.x + 1, file);
   fputc(world->player->hitpoints, file);
   write_map_objects (world->monster, file, write_map_objects_monsterdata);
-  write_map_objects (world->item, file, readwrite_map_objects_dummy);
+  write_map_objects (world->item, file, NULL);
   fclose(file); }
 
 extern void toggle_window (struct WinMeta * win_meta, struct Win * win) {