OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #37353 アリーナのコマンド制限処理を cmd_limit_arena() に統合。 / Integrate command limitatio...
[hengband/hengband.git]
/
src
/
cmd-activate.c
diff --git
a/src/cmd-activate.c
b/src/cmd-activate.c
index
badf09e
..
0dc1c83
100644
(file)
--- a/
src/cmd-activate.c
+++ b/
src/cmd-activate.c
@@
-11,6
+11,11
@@
#include "object-hook.h"
#include "spells-summon.h"
#include "sort.h"
#include "object-hook.h"
#include "spells-summon.h"
#include "sort.h"
+#include "projection.h"
+#include "artifact.h"
+#include "avatar.h"
+#include "spells-status.h"
+#include "realm-hex.h"
/*!
* @brief ペット入りモンスターボールをソートするための比較関数
/*!
* @brief ペット入りモンスターボールをソートするための比較関数
@@
-368,13
+373,7
@@
void do_cmd_activate(void)
concptr q, s;
if (p_ptr->wild_mode) return;
concptr q, s;
if (p_ptr->wild_mode) return;
-
- if (p_ptr->inside_arena)
- {
- msg_print(_("アリーナが魔法を吸収した!", "The arena absorbs all attempted magic!"));
- msg_print(NULL);
- return;
- }
+ if (cmd_limit_arena(p_ptr)) return;
if (p_ptr->special_defense & (KATA_MUSOU | KATA_KOUKIJIN))
{
if (p_ptr->special_defense & (KATA_MUSOU | KATA_KOUKIJIN))
{