]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix potential crash of vehicle code (doesn't happen with current vehicles)
authorRudolf Polzer <divverent@xonotic.org>
Thu, 23 Jun 2011 18:36:11 +0000 (20:36 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 23 Jun 2011 18:36:11 +0000 (20:36 +0200)
qcsrc/server/vehicles/vehicles.qc

index db22ae42a66bab560c72d94e5e48e7d838630357..751023014c5ea9d4acf8f9503a6c73b8132a31c4 100644 (file)
@@ -488,7 +488,6 @@ void vehicles_enter()
     }
     else
     {
-        WriteByte (MSG_ONE, SVC_SETVIEWANGLES);
         WriteAngle(MSG_ONE,  self.angles_x * -1); // tilt
         WriteAngle(MSG_ONE,  self.angles_y);      // yaw
         WriteAngle(MSG_ONE,  0);                  // roll