* <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)
case SV_SCROLL_TELEPORT_LEVEL:
{
- (void)teleport_level(0);
+ (void)teleport_level(creature_ptr, 0);
ident = TRUE;
break;
}
case SV_SCROLL_REMOVE_CURSE:
{
- if (remove_curse())
+ if (remove_curse(creature_ptr))
{
ident = TRUE;
}
case SV_SCROLL_STAR_REMOVE_CURSE:
{
- if (remove_all_curse())
+ if (remove_all_curse(creature_ptr))
{
ident = TRUE;
}