From: terencehill Date: Fri, 20 Jan 2017 14:53:47 +0000 (+0100) Subject: Fix uninitialized vector... X-Git-Tag: xonotic-v0.8.2~279 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ba578328c0632e981a85b347a573c1ee754efbdd;p=xonotic%2Fxonotic-data.pk3dir.git Fix uninitialized vector... --- diff --git a/qcsrc/server/bot/default/havocbot/roles.qc b/qcsrc/server/bot/default/havocbot/roles.qc index a4ca874f9..d18beab57 100644 --- a/qcsrc/server/bot/default/havocbot/roles.qc +++ b/qcsrc/server/bot/default/havocbot/roles.qc @@ -16,7 +16,7 @@ void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius) { float rating, d, discard, friend_distance, enemy_distance; - vector o; + vector o = '0 0 0'; ratingscale = ratingscale * 0.0001; // items are rated around 10000 already IL_EACH(g_items, it.bot_pickup,