• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionf3cddd15028fd5925bd53614b45111a78fde7bac (tree)
Time2019-06-15 18:21:23
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/cmd-activate.c
+++ b/src/cmd-activate.c
@@ -353,7 +353,6 @@ void do_cmd_activate_aux(INVENTORY_IDX item)
353353 object_type *o_ptr;
354354 bool success;
355355
356-
357356 /* Get the item (in the pack) */
358357 if (item >= 0)
359358 {
@@ -368,7 +367,6 @@ void do_cmd_activate_aux(INVENTORY_IDX item)
368367
369368 take_turn(p_ptr, 100);
370369
371- /* Extract the item level */
372370 lev = k_info[o_ptr->k_idx].level;
373371
374372 /* Hack -- use artifact level instead */
--- a/src/cmd-usestaff.c
+++ b/src/cmd-usestaff.c
@@ -313,7 +313,6 @@ void do_cmd_use_staff_aux(INVENTORY_IDX item)
313313
314314 take_turn(p_ptr, 100);
315315
316- /* Extract the item level */
317316 lev = k_info[o_ptr->k_idx].level;
318317 if (lev > 50) lev = 50 + (lev - 50) / 2;
319318
--- a/src/cmd-zaprod.c
+++ b/src/cmd-zaprod.c
@@ -312,7 +312,6 @@ void do_cmd_zap_rod_aux(INVENTORY_IDX item)
312312
313313 take_turn(p_ptr, 100);
314314
315- /* Extract the item level */
316315 lev = k_info[o_ptr->k_idx].level;
317316
318317 /* Base chance of success */
Show on old repository browser