Strip items after stealing with Hyudoro

This commit is contained in:
James R 2022-05-22 19:19:41 -07:00
parent 800dcc6302
commit a12c88c5e2

View file

@ -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));