]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't allow frozen players to enter vehicles
authorMario <mario.mario@y7mail.com>
Thu, 16 May 2013 10:02:59 +0000 (20:02 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 16 May 2013 10:02:59 +0000 (20:02 +1000)
qcsrc/server/vehicles/vehicles.qc

index f1dcf93f0962ce4db7dd7393ac5c50650299bfb2..3c8bd88a5ba8727e1ab017b30522a019217a667b 100644 (file)
@@ -580,6 +580,9 @@ void vehicles_enter()
 
     if(self.phase > time)
         return;
+               
+       if(other.frozen)
+               return;
 
     if(teamplay)
     if(self.team)