mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
droptarget reflected items are dangerous to the thower again
This commit is contained in:
parent
2270813eee
commit
0aad29ff68
1 changed files with 5 additions and 0 deletions
|
|
@ -721,6 +721,11 @@ boolean K_DropTargetCollide(mobj_t *t1, mobj_t *t2)
|
||||||
t2->angle += ANGLE_180;
|
t2->angle += ANGLE_180;
|
||||||
if (t2->type == MT_JAWZ)
|
if (t2->type == MT_JAWZ)
|
||||||
P_SetTarget(&t2->tracer, t2->target); // Back to the source!
|
P_SetTarget(&t2->tracer, t2->target); // Back to the source!
|
||||||
|
|
||||||
|
// Reflected item becomes owned by the DT owner, so it becomes dangerous the the thrower
|
||||||
|
if (t1->target && !P_MobjWasRemoved(t1->target))
|
||||||
|
P_SetTarget(&t2->target, t1->target);
|
||||||
|
|
||||||
t2->threshold = 10;
|
t2->threshold = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue