Skip to content

Commit 216e65a

Browse files
committed
ConVar name tweak
1 parent 53d7b7c commit 216e65a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/game/server/neo/bot/neo_bot_path_cost.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ConVar neo_bot_path_friendly_reservation_enable("neo_bot_path_friendly_reservati
1212
ConVar neo_bot_path_around_friendly_cooldown("neo_bot_path_around_friendly_cooldown", "2.0", FCVAR_CHEAT,
1313
"How often to check for friendly path dispersion", false, 0, false, 60);
1414

15-
ConVar neo_bot_path_jump_penalty_multiplier("neo_bot_path_jump_penalty_multiplier", "100.0", FCVAR_CHEAT,
15+
ConVar neo_bot_path_penalty_jump_multiplier("neo_bot_path_penalty_jump_multiplier", "100.0", FCVAR_CHEAT,
1616
"Maximum penalty multiplier for jump height changes in pathfinding", false, 0.01f, false, 1000.0f);
1717

1818
//-------------------------------------------------------------------------------------------------
@@ -74,7 +74,7 @@ float CNEOBotPathCost::operator()(CNavArea* baseArea, CNavArea* fromArea, const
7474
}
7575

7676
// jumping is slower than flat ground
77-
const float jumpPenalty = neo_bot_path_jump_penalty_multiplier.GetFloat() * Square( deltaZ / m_maxJumpHeight );
77+
const float jumpPenalty = neo_bot_path_penalty_jump_multiplier.GetFloat() * Square( deltaZ / m_maxJumpHeight );
7878
dist *= jumpPenalty;
7979
}
8080
else if (deltaZ < -m_maxDropHeight)

0 commit comments

Comments
 (0)