MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
288 stars 276 forks source link

Stable 48.0 LOS Ruler Bugged with water With Diagramming LOS #3025

Open PootisPolice opened 2 years ago

PootisPolice commented 2 years ago

Environment

On the windows version of Megamek 48.0, the LOS ruler gives incorrect lines of sight.

image

These mechs can see and shoot at each other with diagramming on, but the ruler says they cannot. (The LOS shader seems accurate though.)

bugreport.sav.gz megameklog.txt

Player Name is King Quads, and there is no password for either save.

SuperStucco commented 2 years ago

The value for "Height 2" should also be 1. With the 0 value, it's checking for a target under water.

Still, it's hard to get the LOS tool to work properly with hovercraft on water, it always fills in as 0 rather than the height above the true bottom/water surface.