From 63463d1bcffae247b555afc71c65c472030dd333 Mon Sep 17 00:00:00 2001 From: Tobias Kuehnhammer Date: Mon, 24 Mar 2014 17:10:16 -0500 Subject: [PATCH] Fix compiling game VM with OBSTACLEDEBUG defined --- code/game/ai_dmq3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/ai_dmq3.c b/code/game/ai_dmq3.c index fe224827..b0b78066 100644 --- a/code/game/ai_dmq3.c +++ b/code/game/ai_dmq3.c @@ -4432,6 +4432,9 @@ open, which buttons to activate etc. ================== */ void BotAIBlocked(bot_state_t *bs, bot_moveresult_t *moveresult, int activate) { +#ifdef OBSTACLEDEBUG + char netname[MAX_NETNAME]; +#endif int movetype, bspent; vec3_t hordir, sideward, angles, up = {0, 0, 1}; //vec3_t start, end, mins, maxs;