Skip to content

Commit

Permalink
- Exhumed: fixed sprite positioning issues
Browse files Browse the repository at this point in the history
Apparently tile #1 has some significance here.
  • Loading branch information
coelckers committed Sep 23, 2023
1 parent 4a87003 commit d96a928
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/games/exhumed/src/exhumed.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions source/games/exhumed/src/namelist.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
x(One, 1)
x(Torch1, 338)
x(Torch2, 350)
x(WeaponSpriteMagnum, 488)
Expand Down
1 change: 1 addition & 0 deletions source/games/exhumed/src/texidsdef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// list of textures that get referenced directly in game code.
x(One)
x(Spark1)
x(Spark2)
x(Playermarker1)
Expand Down

0 comments on commit d96a928

Please sign in to comment.