Fix compiling game VM with OBSTACLEDEBUG defined

This commit is contained in:
Tobias Kuehnhammer 2014-03-24 17:10:16 -05:00 committed by Zack Middleton
parent cf7d8ef9cf
commit 63463d1bcf
1 changed files with 3 additions and 0 deletions

View File

@ -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;