mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
- eliminated use of one more tile index in Exhumed.
This commit is contained in:
parent
fd9a9232af
commit
9bf028b7f0
2 changed files with 4 additions and 3 deletions
|
@ -419,7 +419,7 @@ static int DoStatic(int a, int b)
|
|||
const int bottom = y + a;
|
||||
const int right = left + b;
|
||||
|
||||
const auto pixels = GetWritablePixels(tileGetTextureID(kTileLoboLaptop), true);
|
||||
const auto pixels = GetWritablePixels(aTexIds[kTexTileLoboLaptop], true);
|
||||
auto pTile = (pixels + (200 * y)) + left;
|
||||
|
||||
for(;y < bottom; y++)
|
||||
|
@ -432,12 +432,12 @@ static int DoStatic(int a, int b)
|
|||
*pixel++ = RandomBit() * 16;
|
||||
}
|
||||
}
|
||||
return tileGetTexture(kTileLoboLaptop)->GetID().GetIndex();
|
||||
return aTexIds[kTexTileLoboLaptop].GetIndex();
|
||||
}
|
||||
|
||||
static int UndoStatic()
|
||||
{
|
||||
const auto texid = tileGetTextureID(kTileLoboLaptop);
|
||||
const auto texid = aTexIds[kTexTileLoboLaptop];
|
||||
GetWritablePixels(texid, true);
|
||||
return texid.GetIndex();
|
||||
}
|
||||
|
|
|
@ -35,3 +35,4 @@ x(Urn3)
|
|||
x(Urn4)
|
||||
x(SkullHead)
|
||||
x(SkullJaw)
|
||||
x(TileLoboLaptop)
|
||||
|
|
Loading…
Reference in a new issue