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:
8db1abe
)
[Refactor] #37353 型の置換。 / Type replacement.
author
Deskull
<deskull@users.sourceforge.jp>
Sat, 22 Dec 2018 23:18:41 +0000
(08:18 +0900)
committer
Deskull
<deskull@users.sourceforge.jp>
Sat, 22 Dec 2018 23:18:41 +0000
(08:18 +0900)
src/cmd2.c
patch
|
blob
|
history
diff --git
a/src/cmd2.c
b/src/cmd2.c
index
e697d12
..
dd1acac
100644
(file)
--- a/
src/cmd2.c
+++ b/
src/cmd2.c
@@
-1772,12
+1772,10
@@
void do_cmd_bash(void)
*/
void do_cmd_alter(void)
{
- int y, x, dir;
-
- cave_type *c_ptr;
-
- bool more = FALSE;
-
+ POSITION y, x;
+ DIRECTION dir;
+ cave_type *c_ptr;
+ bool more = FALSE;
if (p_ptr->special_defense & KATA_MUSOU)
{
@@
-1815,10
+1813,8
@@
void do_cmd_alter(void)
p_ptr->energy_use = 100;
- /* Attack monsters */
if (c_ptr->m_idx)
{
- /* Attack */
py_attack(y, x, 0);
}