Bug 4971 - don't add reliable commands when not yet connected
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: PC All
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-05-02 06:29 EDT by Eugene C.
Modified: 2011-05-02 12:03:51 EDT
1 user (show)

See Also:


Attachments
Fix (437 bytes, patch)
2011-05-02 06:29 EDT, Eugene C.

Description Eugene C. 2011-05-02 06:29:22 EDT
Created attachment 2680 [details]
Fix

There is a typo in CL_CheckUserinfo() function that causes reliable commands to be added in buffer while it shouldn't 

Connect string always carries recent userinfo while reliable command buffer may have old values set during challenge

This may cause bug when client gets connected and server accepts userinfo from connect routine - but after GAME_CLIENT_BEGIN old userinfo comes from reliable command buffer and server accepts that - which may cause client/server userinfo mismatch
Comment 1 Thilo Schulz 2011-05-02 12:03:51 EDT
fixed r1957