From c63e02fb9afe1542b3c1b64f81c6c77ba4db3368 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 4 Nov 2018 23:03:32 +0100 Subject: [PATCH] Bot waypoints: fix waypoint creation for certain ladders and jumppads (rare cases) --- qcsrc/server/bot/default/bot.qc | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.2