OSDN Git Service

[Fix] #39525 コメント置換ミス修正. / Fix comment replacing error.
[hengband/hengband.git] / src / cmd / cmd-read.c
index c677fc0..35fd7c6 100644 (file)
@@ -44,7 +44,7 @@
  * <pre>
  * Certain scrolls can be "aborted" without losing the scroll.  These
  * include scrolls with no effects but recharge or identify, which are
- * cancelled before use.  XXX Reading them still takes a current_world_ptr->game_turn, though.
+ * cancelled before use.  XXX Reading them still takes a turn, though.
  * </pre>
  */
 void exe_read(player_type *creature_ptr, INVENTORY_IDX item, bool known)
@@ -181,7 +181,7 @@ void exe_read(player_type *creature_ptr, INVENTORY_IDX item, bool known)
 
                case SV_SCROLL_TELEPORT_LEVEL:
                {
-                       (void)teleport_level(0);
+                       (void)teleport_level(creature_ptr, 0);
                        ident = TRUE;
                        break;
                }
@@ -209,7 +209,7 @@ void exe_read(player_type *creature_ptr, INVENTORY_IDX item, bool known)
 
                case SV_SCROLL_REMOVE_CURSE:
                {
-                       if (remove_curse())
+                       if (remove_curse(creature_ptr))
                        {
                                ident = TRUE;
                        }
@@ -218,7 +218,7 @@ void exe_read(player_type *creature_ptr, INVENTORY_IDX item, bool known)
 
                case SV_SCROLL_STAR_REMOVE_CURSE:
                {
-                       if (remove_all_curse())
+                       if (remove_all_curse(creature_ptr))
                        {
                                ident = TRUE;
                        }