OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
282699a
)
[fix] 探索モード中に探索コマンドを実行するとその場に留まるより損をする #680
author
Habu
<habu1010+github@gmail.com>
Thu, 1 Apr 2021 15:31:28 +0000
(
00:31
+0900)
committer
Habu
<habu1010+github@gmail.com>
Thu, 1 Apr 2021 15:31:28 +0000
(
00:31
+0900)
探索コマンドにおいても、探索モードでは追加の探索処理を実行する。
src/cmd-action/cmd-others.cpp
patch
|
blob
|
history
diff --git
a/src/cmd-action/cmd-others.cpp
b/src/cmd-action/cmd-others.cpp
index
4e8a813
..
43061b0
100644
(file)
--- a/
src/cmd-action/cmd-others.cpp
+++ b/
src/cmd-action/cmd-others.cpp
@@
-50,6
+50,9
@@
void do_cmd_search(player_type *creature_ptr)
take_turn(creature_ptr, 100);
search(creature_ptr);
+
+ if (creature_ptr->action == ACTION_SEARCH)
+ search(creature_ptr);
}
static bool exe_alter(player_type *creature_ptr)