Hyudoro: Fix an exploit where a player in first can touch their hyudotro while in first on a weirdly shaped map.

This commit is contained in:
toaster 2023-04-06 21:17:01 +01:00
parent a6ecb25ed5
commit 4b90a8d8bf

View file

@ -482,6 +482,11 @@ award_immediately (mobj_t *hyu)
if (player) if (player)
{ {
if (player->position == 1)
{
return false;
}
if (player->itemamount && if (player->itemamount &&
player->itemtype != hyudoro_itemtype(hyu)) player->itemtype != hyudoro_itemtype(hyu))
{ {