mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-29 20:50:38 +00:00
Fix a few minor player arrow bugs
This commit is contained in:
parent
1bfcb35eff
commit
510cf8b521
1 changed files with 4 additions and 2 deletions
|
@ -6968,13 +6968,11 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
if (mobj->target->player->kartstuff[k_itemroulette])
|
||||
{
|
||||
P_SetMobjState(mobj, S_PLAYERARROW_BOX);
|
||||
P_SetMobjState(mobj->tracer, S_PLAYERARROW_ITEM);
|
||||
mobj->tracer->frame = FF_FULLBRIGHT|((stplyr->kartstuff[k_itemroulette] % (13*3)) / 3);
|
||||
}
|
||||
else if (mobj->target->player->kartstuff[k_itemtype])
|
||||
{
|
||||
P_SetMobjState(mobj, S_PLAYERARROW_BOX);
|
||||
P_SetMobjState(mobj->tracer, S_PLAYERARROW_ITEM);
|
||||
|
||||
switch (mobj->target->player->kartstuff[k_itemtype])
|
||||
{
|
||||
|
@ -7000,6 +6998,8 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
else
|
||||
mobj->tracer->flags2 &= ~MF2_DONTDRAW;
|
||||
}
|
||||
else
|
||||
mobj->tracer->flags2 &= ~MF2_DONTDRAW;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -7027,6 +7027,8 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
numx->destscale = scale;
|
||||
}
|
||||
}
|
||||
else
|
||||
mobj->tracer->flags2 |= MF2_DONTDRAW;
|
||||
}
|
||||
else if (mobj->health > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue