• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision8cd26e300544801fdc1ff0f22b51647cf2db276d (tree)
Time2019-06-20 00:03:20
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39076 冗長なコメントを削除 (/* Cancel the command */)

Change Summary

Incremental Difference

--- a/src/cmd-basic.c
+++ b/src/cmd-basic.c
@@ -208,10 +208,8 @@ void do_cmd_go_up(player_type *creature_ptr)
208208 /* Quest up stairs */
209209 if (have_flag(f_ptr->flags, FF_QUEST))
210210 {
211- /* Cancel the command */
212211 if (!confirm_leave_level(creature_ptr, FALSE)) return;
213212
214-
215213 /* Success */
216214 if ((creature_ptr->pseikaku == SEIKAKU_COMBAT) || (creature_ptr->inventory_list[INVEN_BOW].name1 == ART_CRIMSON))
217215 msg_print(_("なんだこの階段は!", "What's this STAIRWAY!"));
@@ -258,7 +256,6 @@ void do_cmd_go_up(player_type *creature_ptr)
258256 go_up = confirm_leave_level(creature_ptr, FALSE);
259257 }
260258
261- /* Cancel the command */
262259 if (!go_up) return;
263260
264261 take_turn(creature_ptr, 100);
--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -292,14 +292,11 @@ void do_cmd_wield(void)
292292 if (object_is_cursed(&p_ptr->inventory_list[slot]))
293293 {
294294 object_desc(o_name, &p_ptr->inventory_list[slot], (OD_OMIT_PREFIX | OD_NAME_ONLY));
295-
296295 #ifdef JP
297296 msg_format("%s%sは呪われているようだ。", describe_use(slot) , o_name );
298297 #else
299298 msg_format("The %s you are %s appears to be cursed.", o_name, describe_use(slot));
300299 #endif
301-
302- /* Cancel the command */
303300 return;
304301 }
305302
Show on old repository browser