Description
When a weapon with IsHouseColor=false and LaserOuterColor=0,0,0 sets a value like LaserZAdjust=-999, the right endpoint of the laser drawing will be offset in the vertical direction.
Phobos Version
47b4713
Conditions to reproduce
No response
INI code
In rulesmd.ini:
[SOMEWEAPON]
LaserZAdjust=-999
IsLaser=true
LaserInnerColor=0,255,255
LaserOuterColor=0,0,0
IsHouseColor=false
Steps to reproduce
- Add or find a weapon that matches the parameters of the INI section shown above;
- give this weapon to any unit;
- have that unit fire at a distant target.
Expected behaviour
A line segment from the firing position to the target position
Draw normally when LaserOuterColor is not 0,0,0
Actual behaviour
A line segment from the left endpoint to the right endpoint with an offset


Additional context
No response
Checklist
Description
When a weapon with
IsHouseColor=falseandLaserOuterColor=0,0,0sets a value likeLaserZAdjust=-999, the right endpoint of the laser drawing will be offset in the vertical direction.Phobos Version
47b4713
Conditions to reproduce
No response
INI code
In
rulesmd.ini:Steps to reproduce
Expected behaviour
A line segment from the firing position to the target position
Draw normally when
LaserOuterColoris not0,0,0Actual behaviour
A line segment from the left endpoint to the right endpoint with an offset


Additional context
No response
Checklist