Skip to content

Thrown items and unidentified wands/staffs don't always target the tile displayed on screen #817

@nstoddard

Description

@nstoddard

To reproduce:

  • Comment out RogueMain.c line 523 (identify(theItem);) which will make wands of plenty unidentified in wizard mode
  • Start a game in wizard mode, and get to a position a knight's move away from a monster
  • Target the unidentified wand of plenty a tile behind the monster:
Image
  • Fire the wand; it will fire at a path that doesn't actually hit the monster:
Image

This issue isn't specific to wands of plenty; it also happens with (at least) wands of domination and beckoning. I haven't tested others.

Edit: this also applies to unidentified staffs, and thrown items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions