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:
a7e5c60
)
デバッグモードやチートオプション等を使用後のセーブ時に
author
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 2 Jun 2002 08:55:33 +0000
(08:55 +0000)
committer
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 2 Jun 2002 08:55:33 +0000
(08:55 +0000)
クイックスタートを使用不可にする。
src/save.c
patch
|
blob
|
history
diff --git
a/src/save.c
b/src/save.c
index
36fa72e
..
2b35804
100644
(file)
--- a/
src/save.c
+++ b/
src/save.c
@@
-919,6
+919,10
@@
static void save_quick_start(void)
for (i = 0; i < 4; i++) wr_string(previous_char.history[i]);
wr_byte(previous_char.quests);
+
+ /* No quick start after using debug mode */
+ if (noscore) previous_char.quick_ok = FALSE;
+
wr_byte((byte)previous_char.quick_ok);
}