mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Fix Ramses head in polymost
This commit is contained in:
parent
cb0e728722
commit
525400d36c
2 changed files with 8 additions and 0 deletions
|
@ -3320,6 +3320,8 @@ void CopyTileToBitmap(short nSrcTile, short nDestTile, int xPos, int yPos)
|
|||
// reset pDestB
|
||||
pDestB = pDest;
|
||||
}
|
||||
|
||||
tileInvalidate(nDestTile, -1, -1);
|
||||
}
|
||||
|
||||
int CopyCharToBitmap(char nChar, int nTile, int xPos, int yPos)
|
||||
|
@ -3542,6 +3544,7 @@ void InitSpiritHead()
|
|||
nHeadTimeStart = (int)totalclock;
|
||||
|
||||
memset(worktile, -1, sizeof(worktile));
|
||||
tileInvalidate(kTileRamsesWorkTile, -1, -1);
|
||||
|
||||
nPixelsToShow = 0;
|
||||
|
||||
|
@ -3621,6 +3624,8 @@ int DoSpiritHead()
|
|||
|
||||
nVertPan[0] += (nDestVertPan[0] - nVertPan[0]) / 4;
|
||||
|
||||
tileInvalidate(kTileRamsesWorkTile, -1, -1);
|
||||
|
||||
if (nHeadStage < 2)
|
||||
{
|
||||
memset(worktile, -1, sizeof(worktile));
|
||||
|
|
|
@ -150,6 +150,8 @@ void DoEnergyTile()
|
|||
}
|
||||
}
|
||||
|
||||
tileInvalidate(kEnergy1, -1, -1);
|
||||
|
||||
if (nSmokeSparks)
|
||||
{
|
||||
uint8_t *c = &energytile[67]; // TODO - checkme
|
||||
|
@ -274,6 +276,7 @@ void DoEnergyTile()
|
|||
energytile[val] = 195;
|
||||
word_9AB5B = 1;
|
||||
}
|
||||
tileInvalidate(kEnergy2, -1, -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue