mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-28 16:31:15 +00:00
Fix super flicky bobbing not being flipped, as well as the object itself
This commit is contained in:
parent
4c7ec4bae0
commit
cea8b9566e
1 changed files with 5 additions and 1 deletions
|
|
@ -93,7 +93,10 @@ sine_bob
|
|||
|
||||
// slightly modified from objects/hyudoro.c
|
||||
hyu->sprzoff = FixedMul(kBobHeight,
|
||||
sineofs + FINESINE(a >> ANGLETOFINESHIFT));
|
||||
sineofs + FINESINE(a >> ANGLETOFINESHIFT)) * P_MobjFlip(hyu);
|
||||
|
||||
if (P_IsObjectFlipped(hyu))
|
||||
hyu->sprzoff -= hyu->height;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -303,6 +306,7 @@ struct Flicky : mobj_t
|
|||
color = super_color();
|
||||
}
|
||||
|
||||
K_FlipFromObject(this, source());
|
||||
bob_in_place(this, phase() * 8, 32);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue