mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 03:51:50 +00:00
Apply sprzoff to Jawz reticle
Fixes alignment for UFO Catcher, and probably Garden Top.
This commit is contained in:
parent
dc4922e41b
commit
2c8b889eee
2 changed files with 2 additions and 0 deletions
|
|
@ -8608,6 +8608,7 @@ void K_KartPlayerAfterThink(player_t *player)
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = P_SpawnMobj(targ->x, targ->y, targ->z, MT_PLAYERRETICULE);
|
ret = P_SpawnMobj(targ->x, targ->y, targ->z, MT_PLAYERRETICULE);
|
||||||
|
ret->sprzoff = targ->sprzoff;
|
||||||
ret->old_x = targ->old_x;
|
ret->old_x = targ->old_x;
|
||||||
ret->old_y = targ->old_y;
|
ret->old_y = targ->old_y;
|
||||||
ret->old_z = targ->old_z;
|
ret->old_z = targ->old_z;
|
||||||
|
|
|
||||||
|
|
@ -7910,6 +7910,7 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
P_MoveOrigin(mobj, mobj->target->x, mobj->target->y, mobj->target->z);
|
P_MoveOrigin(mobj, mobj->target->x, mobj->target->y, mobj->target->z);
|
||||||
|
mobj->sprzoff = mobj->target->sprzoff;
|
||||||
mobj->old_x = mobj->target->old_x;
|
mobj->old_x = mobj->target->old_x;
|
||||||
mobj->old_y = mobj->target->old_y;
|
mobj->old_y = mobj->target->old_y;
|
||||||
mobj->old_z = mobj->target->old_z;
|
mobj->old_z = mobj->target->old_z;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue