mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 10:32:27 +00:00
- get rid of last tileGetTexture calls in Blood.
This commit is contained in:
parent
56f5e01c84
commit
6de41eec46
3 changed files with 4 additions and 2 deletions
|
@ -75,7 +75,7 @@ void DoFireFrame(void)
|
|||
memcpy(FrameBuffer + 16896 + i * 128, SeedBuffer[nRand], 128);
|
||||
}
|
||||
CellularFrame(FrameBuffer, 128, 132);
|
||||
auto pData = GetWritablePixels(tileGetTextureID(2342));
|
||||
auto pData = GetWritablePixels(aTexIds[kTexFIRETEX]);
|
||||
uint8_t* pSource = FrameBuffer;
|
||||
int x = fireSize;
|
||||
do
|
||||
|
@ -119,7 +119,7 @@ void FireInit(void)
|
|||
|
||||
void FireProcess(void)
|
||||
{
|
||||
auto tex = tileGetTexture(2342);
|
||||
auto tex = TexMan.GetGameTexture(aTexIds[kTexFIRETEX]);
|
||||
if (tex->isSeen(true))
|
||||
{
|
||||
// This assumes a smooth high frame rate. Ugh...
|
||||
|
|
|
@ -226,3 +226,4 @@ x(ROCKDEBRIS3, 2185)
|
|||
x(ROCKDEBRIS4, 2155)
|
||||
x(ROCKDEBRIS5, 2620)
|
||||
x(ROCKDEBRIS6, 3135)
|
||||
x(Firetex, 2342)
|
||||
|
|
|
@ -31,3 +31,4 @@ x(ROCKDEBRIS5)
|
|||
x(ROCKDEBRIS6)
|
||||
x(Titlescreen)
|
||||
x(BACKTILE)
|
||||
x(FIRETEX)
|
||||
|
|
Loading…
Reference in a new issue