mirror of
https://github.com/QW-Group/ktx
synced 2026-08-19 04:26:04 -04:00
Mode-agnostic code (tot mode, combat damage, dmm4 item filtering, the match settings dump and PlayerDie) calls the Frogbot tuning helpers and reads the k_fb_break_on_death cvar directly. Those symbols only exist when BOT_SUPPORT is defined, so a -DBOT_SUPPORT=OFF build failed to compile. Add no-op fallbacks next to the existing bots_enabled() stub that return the same defaults the k_fb_* cvars are registered with, so behaviour is preserved when bots are compiled out. Route the one remaining raw cvar access through a new FrogbotBreakOnDeath() helper so mode-agnostic code no longer references FB_CVAR_* macros directly. |
||
|---|---|---|
| .. | ||
| bg_lib.h | ||
| deathtype.h | ||
| fb_globals.h | ||
| g_consts.h | ||
| g_local.h | ||
| g_public.h | ||
| g_syscalls.h | ||
| mathlib.h | ||
| player.h | ||
| progdefs.h | ||
| progs.h | ||
| q_shared.h | ||
| rng.h | ||
| rng_gen_impl.h | ||
| rng_gen_state.h | ||
| rng_seed_impl.h | ||
| stats.h | ||