mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix mirrors and model animation.
git-svn-id: https://svn.eduke32.com/eduke32@1287 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
74a9338243
commit
13033e9c29
1 changed files with 3 additions and 3 deletions
|
@ -1153,9 +1153,9 @@ static void polymer_displayrooms(int16_t dacursectnum)
|
|||
|
||||
if (!depth && (overridematerial & prprogrambits[PR_BIT_MIRROR_MAP].bit) &&
|
||||
wall[sec->wallptr + i].overpicnum == 560 &&
|
||||
wall[sec->wallptr + i].cstat & 64)
|
||||
wall[sec->wallptr + i].cstat & 32)
|
||||
{
|
||||
mirrorlist[mirrorcount].plane = &prwalls[sec->wallptr + i]->wall;
|
||||
mirrorlist[mirrorcount].plane = &prwalls[sec->wallptr + i]->mask;
|
||||
mirrorlist[mirrorcount].sectnum = sectorqueue[front];
|
||||
mirrorlist[mirrorcount].wallnum = sec->wallptr + i;
|
||||
mirrorcount++;
|
||||
|
@ -3234,7 +3234,7 @@ static int32_t polymer_bindmaterial(_prmaterial material, char* lights, int
|
|||
// --------- bit validation
|
||||
|
||||
// PR_BIT_ANIM_INTERPOLATION
|
||||
if (material.nextframedata)
|
||||
if (material.nextframedatastride)
|
||||
programbits |= prprogrambits[PR_BIT_ANIM_INTERPOLATION].bit;
|
||||
|
||||
// PR_BIT_LIGHTING_PASS
|
||||
|
|
Loading…
Reference in a new issue