From a12c88c5e213519422dcef33be3f81dabfe0dec6 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 22 May 2022 19:19:41 -0700 Subject: [PATCH] Strip items after stealing with Hyudoro --- src/objects/hyudoro.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/objects/hyudoro.c b/src/objects/hyudoro.c index e8fc14de3..af0241fe3 100644 --- a/src/objects/hyudoro.c +++ b/src/objects/hyudoro.c @@ -291,14 +291,14 @@ hyudoro_patrol_hit_player K_AddHitLag(toucher, TICRATE/2, true); - player->hyudorotimer = hyudorotime; - player->stealingtimer = hyudorotime; - hyudoro_mode(hyu) = HYU_RETURN; hyudoro_itemtype(hyu) = player->itemtype; hyudoro_itemcount(hyu) = player->itemamount; - K_ChangePlayerItem(player, KITEM_NONE, 0); + K_StripItems(player); + + player->hyudorotimer = hyudorotime; + player->stealingtimer = hyudorotime; P_SetTarget(&hyudoro_target(hyu), hyudoro_center_master(center));