- fixed: A sprite having a picnum was not animating its image in the hardware renderer.

This commit is contained in:
Christoph Oelckers 2018-03-25 22:00:40 +02:00
parent 75a65873e7
commit 755cbd341b
1 changed files with 4 additions and 1 deletions

View File

@ -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