laser and railgun not subject to obstacles
Bug #1866863 reported by
Hakim ABDELKRIM-CHICK
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
New
|
Undecided
|
Unassigned |
Bug Description
When a laser/railgun weapon with the one of the following projectile lines invoked:
SubjectToCliffs=yes
SubjectToElevat
SubjectToWalls=yes
It is still going through the obstacle and not deal damage to it.
Also if we include a line effect in a cannon type weapon for instance,
the projectile is subject to obstacle
While the line is rendered to the target.
update:also for Targetlaser.
Yes, this happens because the game draws the beam to the target. The logic isn't tied to any projectile and thus does not care if there are obstacles on the path, the beam will be drawn regardless.
Changing it would require changing how the logic works, and at that point, might as well write a new one from scratch.