OSDN Git Service

Fixed bug of not saving object's art_flags[4]
authoriks <iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 16 Jun 2013 13:22:41 +0000 (13:22 +0000)
committeriks <iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 16 Jun 2013 13:22:41 +0000 (13:22 +0000)
src/save.c

index 6a1fa7c..6f5f77d 100644 (file)
@@ -160,6 +160,7 @@ static void wr_item(object_type *o_ptr)
        if (flags & SAVE_ITEM_ART_FLAGS1) wr_u32b(o_ptr->art_flags[1]);
        if (flags & SAVE_ITEM_ART_FLAGS2) wr_u32b(o_ptr->art_flags[2]);
        if (flags & SAVE_ITEM_ART_FLAGS3) wr_u32b(o_ptr->art_flags[3]);
+       if (flags & SAVE_ITEM_ART_FLAGS4) wr_u32b(o_ptr->art_flags[4]);
 
        if (flags & SAVE_ITEM_CURSE_FLAGS) wr_u32b(o_ptr->curse_flags);