mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Toxomister: player can punt cloud attached to themself
This commit is contained in:
parent
936b8e7d0c
commit
f9c73a04c2
1 changed files with 6 additions and 0 deletions
|
|
@ -288,6 +288,12 @@ struct Cloud : Mobj
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (K_PuntCollide(this, follow()))
|
||||||
|
{
|
||||||
|
remove();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
move_origin(follow()->pos());
|
move_origin(follow()->pos());
|
||||||
momx = 0;
|
momx = 0;
|
||||||
momy = 0;
|
momy = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue