変愚蛮怒のメインリポジトリです
Revision | 8cd26e300544801fdc1ff0f22b51647cf2db276d (tree) |
---|---|
Time | 2019-06-20 00:03:20 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #39076 冗長なコメントを削除 (/* Cancel the command */)
@@ -208,10 +208,8 @@ void do_cmd_go_up(player_type *creature_ptr) | ||
208 | 208 | /* Quest up stairs */ |
209 | 209 | if (have_flag(f_ptr->flags, FF_QUEST)) |
210 | 210 | { |
211 | - /* Cancel the command */ | |
212 | 211 | if (!confirm_leave_level(creature_ptr, FALSE)) return; |
213 | 212 | |
214 | - | |
215 | 213 | /* Success */ |
216 | 214 | if ((creature_ptr->pseikaku == SEIKAKU_COMBAT) || (creature_ptr->inventory_list[INVEN_BOW].name1 == ART_CRIMSON)) |
217 | 215 | msg_print(_("なんだこの階段は!", "What's this STAIRWAY!")); |
@@ -258,7 +256,6 @@ void do_cmd_go_up(player_type *creature_ptr) | ||
258 | 256 | go_up = confirm_leave_level(creature_ptr, FALSE); |
259 | 257 | } |
260 | 258 | |
261 | - /* Cancel the command */ | |
262 | 259 | if (!go_up) return; |
263 | 260 | |
264 | 261 | take_turn(creature_ptr, 100); |
@@ -292,14 +292,11 @@ void do_cmd_wield(void) | ||
292 | 292 | if (object_is_cursed(&p_ptr->inventory_list[slot])) |
293 | 293 | { |
294 | 294 | object_desc(o_name, &p_ptr->inventory_list[slot], (OD_OMIT_PREFIX | OD_NAME_ONLY)); |
295 | - | |
296 | 295 | #ifdef JP |
297 | 296 | msg_format("%s%sは呪われているようだ。", describe_use(slot) , o_name ); |
298 | 297 | #else |
299 | 298 | msg_format("The %s you are %s appears to be cursed.", o_name, describe_use(slot)); |
300 | 299 | #endif |
301 | - | |
302 | - /* Cancel the command */ | |
303 | 300 | return; |
304 | 301 | } |
305 | 302 |