mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: A sprite having a picnum was not animating its image in the hardware renderer.
This commit is contained in:
parent
75a65873e7
commit
755cbd341b
1 changed files with 4 additions and 1 deletions
|
@ -819,7 +819,10 @@ void GLSprite::Process(AActor* thing, sector_t * sector, int thruportal)
|
|||
// [ZZ] add direct picnum override
|
||||
if (isPicnumOverride)
|
||||
{
|
||||
patch = thing->picnum;
|
||||
// Animate picnum overrides.
|
||||
auto tex = TexMan(thing->picnum);
|
||||
if (tex == nullptr) return;
|
||||
patch = tex->id;
|
||||
mirror = false;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue