OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ec6722
)
セーブ時に地上では忘れた明かりの再計算をしないようになってたのを修正。
author
iks
<iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 23 Dec 2002 09:09:52 +0000
(09:09 +0000)
committer
iks
<iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 23 Dec 2002 09:09:52 +0000
(09:09 +0000)
src/save.c
patch
|
blob
|
history
diff --git
a/src/save.c
b/src/save.c
index
e0f0d55
..
13dc23c
100644
(file)
--- a/
src/save.c
+++ b/
src/save.c
@@
-1055,6
+1055,12
@@
static bool wr_dungeon(void)
/* Forget the view */
clear_mon_lite();
/* Forget the view */
clear_mon_lite();
+ /* Update lite/view */
+ p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE);
+
+ /* Update monsters */
+ p_ptr->update |= (PU_MONSTERS | PU_DISTANCE | PU_FLOW);
+
/*** Meta info ***/
/*** Meta info ***/
@@
-1131,13
+1137,6
@@
static bool wr_dungeon(void)
/* Restore current floor */
if (!load_floor(cur_sf_ptr, (SLF_SECOND))) return FALSE;
/* Restore current floor */
if (!load_floor(cur_sf_ptr, (SLF_SECOND))) return FALSE;
-
- /* Update lite/view */
- p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE);
-
- /* Update monsters */
- p_ptr->update |= (PU_MONSTERS | PU_DISTANCE | PU_FLOW);
-
/* Success */
return TRUE;
}
/* Success */
return TRUE;
}