summaryrefslogtreecommitdiff
path: root/src/net_client.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-22 11:55:14 +0000
committerSimon Howard2007-06-22 11:55:14 +0000
commitc1cfa2e0914fe451d5fd147beadfcec922878684 (patch)
treec45d57c03efaade0b58e548478d7d7ba56cf6c07 /src/net_client.c
parentd8ecb804f3659a04ad4203b4b11fef30b274b9d5 (diff)
downloadchocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.tar.gz
chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.tar.bz2
chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.zip
Replace 35 with TICRATE where appropriate.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 925
Diffstat (limited to 'src/net_client.c')
-rw-r--r--src/net_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_client.c b/src/net_client.c
index e367df67..0e2c4559 100644
--- a/src/net_client.c
+++ b/src/net_client.c
@@ -276,7 +276,7 @@ static void NET_CL_ExpandFullTiccmd(net_full_ticcmd_t *cmd, unsigned int seq)
// the same lag. Don't adjust in the first few tics of play, as
// we don't have an accurate value for average_latency yet.
- if (seq > 35)
+ if (seq > TICRATE)
{
adjustment = (cmd->latency * FRACUNIT) - average_latency;