mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
Fix crash in GetDynSpriteLight when the actor is null
This commit is contained in:
parent
635a279186
commit
b59bd46b79
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ void HWDrawInfo::GetDynSpriteLight(AActor *self, float x, float y, float z, FLig
|
|||
float frac, lr, lg, lb;
|
||||
float radius;
|
||||
|
||||
self->Level->GetLightProbeLight(x, y, z, out);
|
||||
Level->GetLightProbeLight(x, y, z, out);
|
||||
|
||||
// Go through both light lists
|
||||
while (node)
|
||||
|
|
Loading…
Reference in a new issue