2025-08-25 08:31 CEST

spring: develop 9f8a73b6 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
sprunk Eshed develop 2017-03-01 16:07:19 develop 849c6874
Changeset Fix a constant - nlc (0000298)

Was supposed to be 20 degrees but is 20 radians.
20 radians is 3*360 + 20 degrees (!) so logic doesn't change but this prevents failures if someone changes the value.

Relatedly, this whole check might be pointless because there's already the weaponDef->maxFireAngle check and that tag also defaults to 20 degrees.
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]