OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #2713 PlayerType::dungeon_idx をFloorType::dungeon_idx へ吸収合併した
[hengbandforosx/hengbandosx.git]
/
src
/
save
/
floor-writer.cpp
diff --git
a/src/save/floor-writer.cpp
b/src/save/floor-writer.cpp
index
0878219
..
bfdb971
100644
(file)
--- a/
src/save/floor-writer.cpp
+++ b/
src/save/floor-writer.cpp
@@
-166,7
+166,7
@@
bool wr_dungeon(PlayerType *player_ptr)
};
RedrawingFlagsUpdater::get_instance().set_flags(flags);
wr_s16b(max_floor_id);
- wr_byte((byte)player_ptr->dungeon_idx);
+ wr_byte((byte)player_ptr->
current_floor_ptr->
dungeon_idx);
if (!player_ptr->floor_id) {
/* No array elements */
wr_byte(0);