Some more AltInvinc loose ends
Prevent it from appearing as a "homestretch" item in non-legacy distancing Fix the visual inconsistencies between it and Software
This commit is contained in:
parent
eab3a88d2a
commit
023f75097f
2 changed files with 17 additions and 2 deletions
|
|
@ -4717,11 +4717,20 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
|||
|
||||
// uncapped/interpolation
|
||||
interpmobjstate_t interp = {0};
|
||||
mobj_t *interptarg;
|
||||
|
||||
if (!thing)
|
||||
return;
|
||||
|
||||
R_InterpolateMobjState(thing, R_GetTimeFrac(RTF_LEVEL), &interp);
|
||||
interptarg = thing;
|
||||
|
||||
if (R_IsOverlayingInvinciblePlayer(thing))
|
||||
{
|
||||
// Kill overlay misalignment
|
||||
interptarg = thing->target;
|
||||
}
|
||||
|
||||
R_InterpolateMobjState(interptarg, R_GetTimeFrac(RTF_LEVEL), &interp);
|
||||
|
||||
dispoffset = thing->dispoffset;
|
||||
|
||||
|
|
@ -5138,7 +5147,10 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
|||
// New colormap stuff for skins Tails 06-07-2002
|
||||
if (thing->colorized)
|
||||
{
|
||||
vis->colormap = R_GetTranslationColormap(TC_RAINBOW, thing->color, GTC_CACHE);
|
||||
vis->colormap = R_GetTranslationColormap(
|
||||
R_IsOverlayingInvinciblePlayer(thing) ? TC_BLINK : TC_RAINBOW,
|
||||
thing->color,
|
||||
GTC_CACHE);
|
||||
}
|
||||
else if (thing->skin && thing->sprite == SPR_PLAY) // This thing is a player!
|
||||
{
|
||||
|
|
|
|||
|
|
@ -510,6 +510,9 @@ INT32 K_KartGetItemOdds(
|
|||
// Nonetheless, apply the start cooldown.
|
||||
cooldownOnStart = true;
|
||||
|
||||
// Also, PLEASE prevent shitty last lap bagging endings.
|
||||
notNearEnd = true;
|
||||
|
||||
// Unique odds for Invincibility.
|
||||
newodds = K_KartGetInvincibilityOdds(clusterDist);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue