]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
players who wake up: count them as teleported
authorRudolf Polzer <divverent@xonotic.org>
Mon, 14 Nov 2011 16:00:48 +0000 (17:00 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 14 Nov 2011 16:00:48 +0000 (17:00 +0100)
qcsrc/server/cl_client.qc

index a2bc2f967c0b4fbbae0295f38b02e77fb1105807..8e83451d3cde3fdc642ebbe0072600d1cc8fe584 100644 (file)
@@ -922,6 +922,7 @@ void PutClientInServer (void)
                        self.effects = EF_FULLBRIGHT;
                else
                        self.effects = 0;
+               self.effects |= EF_TELEPORT_BIT | EF_RESTARTANIM_BIT;
                self.air_finished = time + 12;
                self.dmg = 2;
                if(autocvar_g_balance_nex_charge)