OSDN Git Service

真実の祭壇(現実変容)で、change_floor_modeを設定し忘れていた為、
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 21 Jan 2004 09:26:19 +0000 (09:26 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 21 Jan 2004 09:26:19 +0000 (09:26 +0000)
p_ptr->floor_idが0になってしまっていたバグ修正。

src/dungeon.c

index 1b0389f..29083b4 100644 (file)
@@ -3385,6 +3385,12 @@ msg_print("
                                msg_print("The world changes!");
 #endif
 
+                               /*
+                                * Clear all saved floors
+                                * and create a first saved floor
+                                */
+                               prepare_change_floor_mode(CFM_FIRST_FLOOR);
+
                                /* Leaving */
                                p_ptr->leaving = TRUE;
                        }