From 4b90a8d8bf4ccc5e456d1b94b64b8508d3495f95 Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 6 Apr 2023 21:17:01 +0100 Subject: [PATCH] Hyudoro: Fix an exploit where a player in first can touch their hyudotro while in first on a weirdly shaped map. --- src/objects/hyudoro.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/objects/hyudoro.c b/src/objects/hyudoro.c index 730ce6ede..24a902a78 100644 --- a/src/objects/hyudoro.c +++ b/src/objects/hyudoro.c @@ -482,6 +482,11 @@ award_immediately (mobj_t *hyu) if (player) { + if (player->position == 1) + { + return false; + } + if (player->itemamount && player->itemtype != hyudoro_itemtype(hyu)) {