• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Revisão724983c5c65824d27ea7f8da59bd902bc17b5ed9 (tree)
Hora2019-03-30 19:17:52
Autordeskull <deskull@user...>
Commiterdeskull

Mensagem de Log

[Refactor] #39077 POSITION 1件。同ソースインデント修正。

Mudança Sumário

Diff

--- a/src/player-status.c
+++ b/src/player-status.c
@@ -2815,7 +2815,6 @@ static void calc_hitpoints(void)
28152815
28162816 /* Display hitpoints (later) */
28172817 p_ptr->redraw |= (PR_HP);
2818-
28192818 p_ptr->window |= (PW_PLAYER);
28202819 }
28212820 }
@@ -2828,7 +2827,8 @@ static void calc_hitpoints(void)
28282827 */
28292828 static void calc_torch(void)
28302829 {
2831- int i, rad;
2830+ int i;
2831+ POSITION rad;
28322832 object_type *o_ptr;
28332833 BIT_FLAGS flgs[TR_FLAG_SIZE];
28342834
@@ -2864,7 +2864,7 @@ static void calc_torch(void)
28642864 if (have_flag(flgs, TR_LITE_M1)) rad -= 1;
28652865 if (have_flag(flgs, TR_LITE_M2)) rad -= 2;
28662866 if (have_flag(flgs, TR_LITE_M3)) rad -= 3;
2867- p_ptr->cur_lite += (s16b)rad;
2867+ p_ptr->cur_lite += rad;
28682868 }
28692869
28702870 /* max radius is 14 (was 5) without rewriting other code -- */
@@ -2916,7 +2916,6 @@ static void calc_spells(void)
29162916 REALM_IDX which;
29172917 int bonus = 0;
29182918
2919-
29202919 concptr p;
29212920
29222921 /* Hack -- must be literate */
@@ -3098,11 +3097,9 @@ static void calc_spells(void)
30983097 }
30993098
31003099 #ifdef JP
3101- msg_format("%sの%sを忘れてしまった。",
3102- do_spell(which, j % 32, SPELL_NAME), p);
3100+ msg_format("%sの%sを忘れてしまった。", do_spell(which, j % 32, SPELL_NAME), p);
31033101 #else
3104- msg_format("You have forgotten the %s of %s.", p,
3105- do_spell(which, j % 32, SPELL_NAME));
3102+ msg_format("You have forgotten the %s of %s.", p, do_spell(which, j % 32, SPELL_NAME));
31063103 #endif
31073104
31083105
@@ -3519,9 +3516,7 @@ static void calc_mana(void)
35193516
35203517 /* Display mana later */
35213518 p_ptr->redraw |= (PR_MANA);
3522-
3523- p_ptr->window |= (PW_PLAYER);
3524- p_ptr->window |= (PW_SPELL);
3519+ p_ptr->window |= (PW_PLAYER | PW_SPELL);
35253520 }
35263521
35273522