lizrad / recursio

0 stars 1 forks source link

Obstructed ghost death fix #207

Closed AmonGruenwald closed 2 years ago

AmonGruenwald commented 2 years ago

Fixes previous ghosts deaths still being applied even if the hitscan shot would be blocked by either a player or a wall. Hits now propagate a HitData object containing all relevant information one would need to know about the hit. This is used to raycast for previous hitscan shot deaths to see if any obstruction is in the way.

Closes #200