mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix powerup aura being unflipped
This commit is contained in:
parent
cea8b9566e
commit
586e4c4cd8
1 changed files with 5 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
#include "../p_local.h"
|
#include "../p_local.h"
|
||||||
#include "../p_mobj.h"
|
#include "../p_mobj.h"
|
||||||
#include "../tables.h"
|
#include "../tables.h"
|
||||||
|
#include "../k_kart.h"
|
||||||
|
|
||||||
// copied from objects/monitor.c
|
// copied from objects/monitor.c
|
||||||
#define FINE90 (FINEANGLES/4)
|
#define FINE90 (FINEANGLES/4)
|
||||||
|
|
@ -91,8 +92,11 @@ struct Aura : mobj_t
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
K_FlipFromObject(this, origin());
|
||||||
|
fixed_t flipoffset = P_IsObjectFlipped(origin()) ? origin()->height : 0;
|
||||||
|
|
||||||
P_MoveOrigin(this, origin()->x, origin()->y, origin()->z);
|
P_MoveOrigin(this, origin()->x, origin()->y, origin()->z - flipoffset);
|
||||||
P_InstaScale(this, 11 * origin()->scale / 10);
|
P_InstaScale(this, 11 * origin()->scale / 10);
|
||||||
|
|
||||||
translate();
|
translate();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue