OSDN Git Service

乗馬のバグ、本当に修正。原因はセーブ時にp_ptr->ridingをセーブした後で変更したせい。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 6 Mar 2002 04:22:54 +0000 (04:22 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 6 Mar 2002 04:22:54 +0000 (04:22 +0000)
さっきのgenerate.cの修正は、勘違いだったので取り消し。

src/generate.c
src/save.c

index 23e3c3a..6e54e41 100644 (file)
@@ -1530,9 +1530,6 @@ static void place_pet(void)
                        m_ptr->exp = party_mon[i].exp;
                        set_pet(m_ptr);
 
-                       /* Neccesary for a potential bug */
-                       party_mon[i].r_idx = 0;
-                       
                        if ((r_ptr->flags1 & RF1_FORCE_SLEEP) && !ironman_nightmare)
                        {
                                /* Monster is still being nice */
index 4e96f1b..579f6ac 100644 (file)
@@ -1327,11 +1327,6 @@ static void wr_dungeon(void)
        }
 
 
-       /* Compact the objects */
-       compact_objects(0);
-       /* Compact the monsters */
-       compact_monsters(0);
-
        /*** Dump objects ***/
 
        /* Total objects */
@@ -1378,6 +1373,11 @@ static bool wr_savefile_new(void)
        u16b            tmp16u;
 
 
+       /* Compact the objects */
+       compact_objects(0);
+       /* Compact the monsters */
+       compact_monsters(0);
+
        /* Guess at the current time */
        now = time((time_t *)0);