From: terencehill Date: Sun, 4 Nov 2018 22:03:32 +0000 (+0100) Subject: Bot waypoints: fix waypoint creation for certain ladders and jumppads (rare cases) X-Git-Tag: xonotic-v0.8.5~1726 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=c63e02fb9afe1542b3c1b64f81c6c77ba4db3368;p=xonotic%2Fxonotic-data.pk3dir.git Bot waypoints: fix waypoint creation for certain ladders and jumppads (rare cases) --- diff --git a/qcsrc/server/bot/default/bot.qc b/qcsrc/server/bot/default/bot.qc index 0c4668f2f..641ca893e 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -41,6 +41,8 @@ #include #include +STATIC_INIT(bot) { bot_calculate_stepheightvec(); } + // TODO: remove this function! its only purpose is to update these fields since bot_setnameandstuff is called before ClientState void bot_setclientfields(entity this) {