ondras / rot.js

ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
https://ondras.github.io/rot.js/hp/
BSD 3-Clause "New" or "Revised" License
2.33k stars 254 forks source link

Discrete Shadowcasting issue (corner case?) #155

Open mingos777 opened 5 years ago

mingos777 commented 5 years ago

While testing Discrete Shadowcasting, I managed to produce a weird looking FOV shape:

Discrete Shadowcasting bug

I know this FOV algorithm is described as obsoleted, but it has not been removed, so I'd expect it to work correctly.