From: terencehill Date: Tue, 25 Nov 2014 19:05:39 +0000 (+0100) Subject: Reset view angles whenever a bot respawns X-Git-Tag: xonotic-v0.8.0~133^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f28b18141d51b2aa60964a30c39322ec130e3817;p=xonotic%2Fxonotic-data.pk3dir.git Reset view angles whenever a bot respawns --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 84657d6f6..7644895d0 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -503,6 +503,8 @@ void PutClientInServer (void) self.angles = spot.angles; self.angles_z = 0; // never spawn tilted even if the spot says to + if(IS_BOT_CLIENT(self)) + self.v_angle = self.angles; self.fixangle = TRUE; // turn this way immediately self.velocity = '0 0 0'; self.avelocity = '0 0 0';