• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision93137cdad0470e494ed7960c2817fdfd3b9467f6 (tree)
Time2019-02-18 22:29:12
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 コメント整理。 / Refactor comments.

Change Summary

Incremental Difference

--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -1090,7 +1090,6 @@ static bool do_cmd_tunnel_aux(POSITION y, POSITION x)
10901090
10911091 take_turn(p_ptr, 100);;
10921092
1093- /* Get grid */
10941093 g_ptr = &grid_array[y][x];
10951094 f_ptr = &f_info[g_ptr->feat];
10961095 power = f_ptr->power;
@@ -1237,7 +1236,6 @@ void do_cmd_tunnel(void)
12371236 y = p_ptr->y + ddy[dir];
12381237 x = p_ptr->x + ddx[dir];
12391238
1240- /* Get grid */
12411239 g_ptr = &grid_array[y][x];
12421240
12431241 /* Feature code (applying "mimic" field) */
@@ -1649,7 +1647,6 @@ void do_cmd_disarm(void)
16491647 */
16501648 static bool do_cmd_bash_aux(POSITION y, POSITION x, DIRECTION dir)
16511649 {
1652- /* Get grid */
16531650 grid_type *g_ptr = &grid_array[y][x];
16541651
16551652 /* Get feature */
@@ -1774,7 +1771,6 @@ void do_cmd_bash(void)
17741771 y = p_ptr->y + ddy[dir];
17751772 x = p_ptr->x + ddx[dir];
17761773
1777- /* Get grid */
17781774 g_ptr = &grid_array[y][x];
17791775
17801776 /* Feature code (applying "mimic" field) */
@@ -1857,7 +1853,6 @@ void do_cmd_alter(void)
18571853 y = p_ptr->y + ddy[dir];
18581854 x = p_ptr->x + ddx[dir];
18591855
1860- /* Get grid */
18611856 g_ptr = &grid_array[y][x];
18621857
18631858 /* Feature code (applying "mimic" field) */
@@ -2089,7 +2084,7 @@ void do_cmd_walk(bool pickup)
20892084 change_wild_mode();
20902085
20912086 /* Give first move to monsters */
2092- take_turn(p_ptr, 100);;
2087+ take_turn(p_ptr, 100);
20932088
20942089 /* HACk -- set the encouter flag for the wilderness generation */
20952090 generate_encounter = TRUE;
@@ -2424,7 +2419,6 @@ bool do_cmd_throw(int mult, bool boomerang, OBJECT_IDX shuriken)
24242419 if (object_is_cursed(o_ptr) && (item >= INVEN_RARM))
24252420 {
24262421 msg_print(_("ふーむ、どうやら呪われているようだ。", "Hmmm, it seems to be cursed."));
2427-
24282422 return FALSE;
24292423 }
24302424
Show on old repository browser