View Issue Details

IDProjectCategoryView StatusLast Update
0000137Gameplay + OpenGL[All Projects] Bugpublic2017-01-29 04:58
Assigned To 
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version16.04
Summary0000137: Dynamic light assertion
Descriptiongzdoom/src/gl/dynlights/a_dynlight.cpp:212: virtual void ADynamicLight::Activate(AActor*): Assertion `m_currentRadius > 0' failed.
Steps To Reproduce1. Load up WolfenDoom: Blade of Agony
2. Go to C1M2
3. The game will crash with this assertion when the map is loaded.
TagsNo tags attached.





2017-01-29 02:21

developer   ~0000269

Thing #3272 of type PointLightFlicker has zero base radius (fourth) argument.
Probably this assertion needs to be replaced with a warning. So author will be aware of the problem and fix his/her map.
Graf Zahl

Graf Zahl

2017-01-29 04:55

administrator   ~0000271

Last edited: 2017-01-29 04:58

View 2 revisions

I added some clamps to ensure that the value remains positive. Normally 0 should be fine, though, the assert was a leftover from some testing, but it can cause problems with the sector links.

Issue History

Date Modified Username Field Change
2017-01-29 01:03 Talon1024 New Issue
2017-01-29 02:21 _mental_ Note Added: 0000269
2017-01-29 04:55 Graf Zahl Status new => resolved
2017-01-29 04:55 Graf Zahl Resolution open => fixed
2017-01-29 04:55 Graf Zahl Note Added: 0000271
2017-01-29 04:58 Graf Zahl Note Edited: 0000271 View Revisions