Aleph-One-Marathon / alephone

Aleph One is the open source continuation of Bungie’s Marathon 2 game engine.
https://alephone.lhowon.org/
GNU General Public License v3.0
644 stars 100 forks source link

assert that lights must have non-zero-length active and inactive periods #483

Closed aaronfreed closed 3 months ago

aaronfreed commented 5 months ago

Currently, lights that have zero-length active or inactive periods will cause an infinite loop and freeze the engine upon map load. This PR makes it throw an assertion failure instead. (Fixes https://github.com/Aleph-One-Marathon/alephone/issues/478.)