From 67e4fa978530ae0a3f62fedb0a26ac4797443429 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 8 Jul 2026 17:19:29 -0400 Subject: [PATCH] Fix trap_BotFreeItemWeights() for qagame.qvm Compiling qagame.qvm incorrectly mapped trap_BotFreeItemWeights() to the syscall for BOTLIB_AI_SAVE_GOAL_FUZZY_LOGIC. However this is not called by baseq3 or missionpack qagame.qvm so correcting it does not affect the built Quake 3 QVMs. Reported by Tobias Kuehnhammer. --- code/game/g_syscalls.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/g_syscalls.asm b/code/game/g_syscalls.asm index 6fdb8690..1913c22a 100644 --- a/code/game/g_syscalls.asm +++ b/code/game/g_syscalls.asm @@ -181,7 +181,7 @@ equ trap_BotAvoidGoalTime -541 equ trap_BotInitLevelItems -542 equ trap_BotUpdateEntityItems -543 equ trap_BotLoadItemWeights -544 -equ trap_BotFreeItemWeights -546 +equ trap_BotFreeItemWeights -545 equ trap_BotSaveGoalFuzzyLogic -546 equ trap_BotAllocGoalState -547 equ trap_BotFreeGoalState -548