• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision80b6ae88754e822519aad7d04bc3836ef82af13c (tree)
Time2019-03-13 23:18:00
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/object2.c
+++ b/src/object2.c
@@ -4916,7 +4916,6 @@ OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
49164916 #else
49174917 msg_format("The %s disappear%s.", o_name, (plural ? "" : "s"));
49184918 #endif
4919- /* Debug */
49204919 if (p_ptr->wizard) msg_print(_("(破損)", "(breakage)"));
49214920
49224921 /* Failure */
@@ -5019,8 +5018,6 @@ OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
50195018 msg_format("The %s disappear%s.", o_name, (plural ? "" : "s"));
50205019 #endif
50215020
5022-
5023- /* Debug */
50245021 if (p_ptr->wizard) msg_print(_("(床スペースがない)", "(no floor space)"));
50255022
50265023 /* Failure */
@@ -5071,7 +5068,6 @@ OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
50715068 msg_format("The %s disappear%s.", o_name, (plural ? "" : "s"));
50725069 #endif
50735070
5074- /* Debug */
50755071 if (p_ptr->wizard) msg_print(_("(床スペースがない)", "(no floor space)"));
50765072
50775073 /* Mega-Hack -- preserve artifacts */
@@ -5145,7 +5141,6 @@ OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
51455141 msg_format("The %s disappear%s.", o_name, (plural ? "" : "s"));
51465142 #endif
51475143
5148- /* Debug */
51495144 if (p_ptr->wizard) msg_print(_("(アイテムが多過ぎる)", "(too many objects)"));
51505145
51515146 /* Hack -- Preserve artifacts */
@@ -5300,8 +5295,6 @@ void inven_item_increase(INVENTORY_IDX item, ITEM_NUMBER num)
53005295 /* Add the weight */
53015296 p_ptr->total_weight += (num * o_ptr->weight);
53025297 p_ptr->update |= (PU_BONUS);
5303-
5304- /* Recalculate mana XXX */
53055298 p_ptr->update |= (PU_MANA);
53065299 p_ptr->update |= (PU_COMBINE);
53075300 p_ptr->window |= (PW_INVEN | PW_EQUIP);
@@ -5367,10 +5360,7 @@ void inven_item_optimize(INVENTORY_IDX item)
53675360 /* Erase the empty slot */
53685361 object_wipe(&inventory[item]);
53695362 p_ptr->update |= (PU_BONUS);
5370-
53715363 p_ptr->update |= (PU_TORCH);
5372-
5373- /* Recalculate mana XXX */
53745364 p_ptr->update |= (PU_MANA);
53755365
53765366 p_ptr->window |= (PW_EQUIP);
--- a/src/spells2.c
+++ b/src/spells2.c
@@ -2645,7 +2645,6 @@ bool unlite_area(HIT_POINT dam, POSITION rad)
26452645 {
26462646 BIT_FLAGS flg = PROJECT_GRID | PROJECT_KILL;
26472647
2648- /* Hack -- Message */
26492648 if (!p_ptr->blind)
26502649 {
26512650 msg_print(_("暗闇が辺りを覆った。", "Darkness surrounds you."));
Show on old repository browser