mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Obj_UpdateRingShooterFace: Set threshold overlay flags (fixes scaling/alignment of face)
This commit is contained in:
parent
3b7ac38d9f
commit
c4a087790a
1 changed files with 3 additions and 0 deletions
|
|
@ -755,6 +755,9 @@ void Obj_UpdateRingShooterFace(mobj_t *part)
|
|||
// set the frame to the WANTED pic
|
||||
part->frame = (part->frame & ~FF_FRAMEMASK) | FACE_WANTED;
|
||||
|
||||
// set the threshold overlay flags
|
||||
part->threshold = (OV_DONTXYSCALE|OV_DONTSCREENOFFSET);
|
||||
|
||||
// we're going to assume the character's WANTED icon is 32 x 32
|
||||
// let's squish the sprite a bit so that it matches the dimensions of the screen's sprite, which is 26 x 22
|
||||
// (TODO: maybe get the dimensions/offsets from the patches themselves?)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue