-
Notifications
You must be signed in to change notification settings - Fork 20
Reduce team allocation for path reservation #1625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Reduce team allocation for path reservation #1625
Conversation
Also rename ConVar enabling the path reservation system to be more generic
| ConVar neo_bot_path_friendly_reservation_enable("neo_bot_path_friendly_reservation_enable", "1", FCVAR_NONE, | ||
| "Enable friendly bot path dispersal", true, 0, false, 1); | ||
| ConVar neo_bot_path_reservation_enable("neo_bot_path_reservation_enable", "1", FCVAR_NONE, | ||
| "Enable bot path reservation system", true, 0, false, 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should bMax be true instead of false here for the cvar ctor?
|
I just noticed we have the cvar |
GitHub requires me to write something deep and insightful in this field.
| if ( neo_bot_path_friendly_reservation_enable.GetBool() | ||
| && !m_bIgnoreReservations | ||
| && (m_routeType != FASTEST_ROUTE) ) | ||
| if ( !m_bIgnoreReservations && (m_routeType != FASTEST_ROUTE) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Realized that m_bIgnoreReservations was already set based on neo_bot_path_friendly_reservation_enable in the constructor, so there's no need to check the latter again.
Description
Also rename ConVar enabling the path reservation system to be more general
Toolchain
Linked Issues