Toxomister: punt passive clouds

This commit is contained in:
James R 2025-07-22 21:18:37 -07:00
parent 15737d7b8a
commit 936b8e7d0c

View file

@ -18,6 +18,7 @@
#include "../doomdef.h"
#include "../doomtype.h"
#include "../g_game.h"
#include "../k_collide.h"
#include "../k_hud.h" // transflag
#include "../m_easing.h"
#include "../m_fixed.h"
@ -348,6 +349,9 @@ struct Cloud : Mobj
if (toucher == target())
return false;
if (K_PuntCollide(this, toucher))
return true;
if (toucher->player)
{
if (this == toucher->player->toxomisterCloud) // already attached