mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-01 11:16:30 +00:00
Flip angle when reflecting
This commit is contained in:
parent
e96cf41fab
commit
5ed356ea46
1 changed files with 2 additions and 0 deletions
|
|
@ -762,6 +762,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
|
|||
tmthing->momx = -tmthing->momx;
|
||||
tmthing->momy = -tmthing->momy;
|
||||
tmthing->momz = -tmthing->momz;
|
||||
tmthing->angle += ANGLE_180;
|
||||
}
|
||||
if (tmthing->type == MT_JAWZ)
|
||||
P_SetTarget(&tmthing->tracer, tmthing->target); // Back to the source!
|
||||
|
|
@ -811,6 +812,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
|
|||
thing->momx = -thing->momx;
|
||||
thing->momy = -thing->momy;
|
||||
thing->momz = -thing->momz;
|
||||
thing->angle += ANGLE_180;
|
||||
}
|
||||
if (thing->type == MT_JAWZ)
|
||||
P_SetTarget(&thing->tracer, thing->target); // Back to the source!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue