Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range of 2 appears as 3 (Circular distances is off) #40243

Closed
mon-pad opened this issue May 6, 2020 · 4 comments · Fixed by #40221
Closed

Range of 2 appears as 3 (Circular distances is off) #40243

mon-pad opened this issue May 6, 2020 · 4 comments · Fixed by #40221

Comments

@mon-pad
Copy link
Contributor

mon-pad commented May 6, 2020

Describe the bug

When using any ranged weapon I am unable to attack a zombie from two diagonal spaces away. This was not an issue in the last build I had (I think it was v10606, but I'm not 100% sure). I have always had circular distances turned off - I'm not familiar with it but I assume if it was on this would be normal behavior.

Steps To Reproduce

  1. Have circular distances off
  2. Get any ranged weapon and try to shoot/attack two diagonal spaces away

Expected behavior

It should say Range 2/2 instead of Range 3/2 and allow you to attack.

Screenshots

Screenshot

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 1809
  • Game Version: 0.E-1783-g3ba1852 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    No Fungal Monsters [No_Fungi]
    ]
@Lamandus
Copy link
Contributor

Lamandus commented May 6, 2020

Cannot reproduce. This is with nailgun
grafik
and with a steel spear.
grafik

@Dacendeth
Copy link
Contributor

On the latest experimental I can trigger this.

@Lamandus
Copy link
Contributor

Lamandus commented May 6, 2020

I feel ashamed. I used my old version.
Yes, I can trigger it on the new one as well. Nvm

@olanti-p
Copy link
Contributor

olanti-p commented May 6, 2020

Apparently a function that was there for the sole purpose of selecting between circular/square distances failed to do exactly that. Derp. Should be fixed by that PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants