mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 02:12:00 +00:00
- fixed: associated dynamic lights took the sprite/frame info from the actor's current state instead of from the actor's current sprite and frame, which may differ in case some placeholder sprite is used in the state.
This commit is contained in:
parent
fad3a54100
commit
7701d54b1f
1 changed files with 2 additions and 2 deletions
|
@ -1113,8 +1113,8 @@ void gl_SetActorLights(AActor *actor)
|
|||
ADynamicLight *lights, *tmpLight;
|
||||
unsigned int i;
|
||||
|
||||
int sprite = actor->state->sprite;
|
||||
int frame = actor->state->GetFrame();
|
||||
int sprite = actor->sprite;
|
||||
int frame = actor->frame;
|
||||
|
||||
lights = tmpLight = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue