From ad2761f365801a45699bec2010b7e98e4b1d9a2e Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 16 Jul 2025 12:55:45 -0400 Subject: [PATCH] Adjust bot Object nudging for item changes --- src/k_botsearch.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/k_botsearch.cpp b/src/k_botsearch.cpp index 211ef5110..3aa10d022 100644 --- a/src/k_botsearch.cpp +++ b/src/k_botsearch.cpp @@ -568,8 +568,8 @@ static BlockItReturn_t K_FindObjectsForNudging(mobj_t *thing) } // Flame Shield else if (K_PlayerAttackSteer(thing, side, 20, - g_nudgeSearch.botmo->player->itemtype == KITEM_FLAMESHIELD, - thing->player->itemtype == KITEM_FLAMESHIELD + g_nudgeSearch.botmo->player->flametimer && g_nudgeSearch.botmo->player->flamestore, + thing->player->flametimer && thing->player->flamestore )) { break; @@ -582,14 +582,6 @@ static BlockItReturn_t K_FindObjectsForNudging(mobj_t *thing) { break; } - // Ring Sting - else if (K_PlayerAttackSteer(thing, side, 20, - thing->player->rings <= 0, - g_nudgeSearch.botmo->player->rings <= 0 - )) - { - break; - } else { // After ALL of that, we can do standard bumping