aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-12 17:17:15 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-12 17:17:15 +0000
commitbcb1609aa7ad9f6b19df8b512ddd2c74e294d020 (patch)
tree13f0b273c0aad4401cd802d2dd2e7f2381d23a8d /code/server
parent209b588ef5ae91b35ddd8a2b792b2b4abe97669c (diff)
downloadioquake3-aero-bcb1609aa7ad9f6b19df8b512ddd2c74e294d020.tar.gz
ioquake3-aero-bcb1609aa7ad9f6b19df8b512ddd2c74e294d020.zip
Fix netcode inconsistency, thanks to /dev/humancontroller for the patch, see http://bugzilla.icculus.org/show_bug.cgi?id=4060
git-svn-id: svn://svn.icculus.org/quake3/trunk@1661 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c
index 4387d24..1195c88 100644
--- a/code/server/sv_client.c
+++ b/code/server/sv_client.c
@@ -1605,7 +1605,7 @@ static void SV_UserMove( client_t *cl, msg_t *msg, qboolean delta ) {
// also use the message acknowledge
key ^= cl->messageAcknowledge;
// also use the last acknowledged server command in the key
- key ^= Com_HashKey(cl->reliableCommands[ cl->reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ], 32);
+ key ^= MSG_HashKey(cl->reliableCommands[ cl->reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ], 32);
Com_Memset( &nullcmd, 0, sizeof(nullcmd) );
oldcmd = &nullcmd;