summaryrefslogtreecommitdiff
path: root/src/game/g_misc.c
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2006-12-09 19:23:19 +0000
committerTony J. White <tjw@tjw.org>2006-12-09 19:23:19 +0000
commit0a620bae55008e91d7de3d4e2dd0f697f8e649ca (patch)
treeac4f4df96596e23f1927eb3c57e589ef104bf870 /src/game/g_misc.c
parent0ea107d7502ad16a111e827061964ca0d14e2975 (diff)
* (bug 2903) Added g_unlagged. This is based on Neil Toronto's unlagged
project. Thanks to kevlarman and WolfWings for help with this implementation for Tremulous.
Diffstat (limited to 'src/game/g_misc.c')
-rw-r--r--src/game/g_misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c
index 23a46a3b..9d54033e 100644
--- a/src/game/g_misc.c
+++ b/src/game/g_misc.c
@@ -86,6 +86,7 @@ void TeleportPlayer( gentity_t *player, vec3_t origin, vec3_t angles )
// toggle the teleport bit so the client knows to not lerp
player->client->ps.eFlags ^= EF_TELEPORT_BIT;
+ G_UnlaggedClear( player );
// set angles
SetClientViewAngle( player, angles );