mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +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;
|
||||
}
|
||||
|
||||
if (K_PuntCollide(this, follow()))
|
||||
{
|
||||
remove();
|
||||
return false;
|
||||
}
|
||||
|
||||
move_origin(follow()->pos());
|
||||
momx = 0;
|
||||
momy = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue