- Exhumed: fixed sprite positioning issues

Apparently tile #1 has some significance here.
This commit is contained in:
Christoph Oelckers 2023-09-23 10:30:52 +02:00
parent 4a87003408
commit d96a928738
3 changed files with 4 additions and 2 deletions

View file

@ -90,8 +90,8 @@ void InitEnergyTile();
void setvalidpic(DExhumedActor* actor)
{
// all we want here is setting it to something that passes renderer validation. This is never used to draw the sprite.
actor->spr.setspritetexture(aTexIds[kTexTorch1]);
// gross hack from the original game. :(
actor->spr.setspritetexture(aTexIds[kTexOne]);
}
extern int EndLevel;

View file

@ -1,3 +1,4 @@
x(One, 1)
x(Torch1, 338)
x(Torch2, 350)
x(WeaponSpriteMagnum, 488)

View file

@ -1,4 +1,5 @@
// list of textures that get referenced directly in game code.
x(One)
x(Spark1)
x(Spark2)
x(Playermarker1)