#include "realm-hex.h"
#include "spells-object.h"
+#include "spells-floor.h"
#include "spells-summon.h"
#include "spells-status.h"
* <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 turn, though.
+ * cancelled before use. XXX Reading them still takes a current_world_ptr->game_turn, though.
* </pre>
*/
void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known)
/* Get the item (on the floor) */
else
{
- o_ptr = &o_list[0 - item];
+ o_ptr = ¤t_floor_ptr->o_list[0 - item];
}
take_turn(p_ptr, 100);