diff --git a/source/exhumed/src/exhumed.cpp b/source/exhumed/src/exhumed.cpp index 431570082..de15a041f 100644 --- a/source/exhumed/src/exhumed.cpp +++ b/source/exhumed/src/exhumed.cpp @@ -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)); diff --git a/source/exhumed/src/menu.cpp b/source/exhumed/src/menu.cpp index c12ce34f8..de4767fff 100644 --- a/source/exhumed/src/menu.cpp +++ b/source/exhumed/src/menu.cpp @@ -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); } }