]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
replaced all uses of sv_player with host_client->edict (because sv_player was often...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Nov 2004 11:14:31 +0000 (11:14 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Nov 2004 11:14:31 +0000 (11:14 +0000)
commit48978ee14d2f77912ad239c5797fc23f12a2fc94
tree82d06e9816c1e9224c6cf03b2156ad089f151edf
parent80961e45bafbbc0514b3893437970e2c177e20eb
replaced all uses of sv_player with host_client->edict (because sv_player was often invalid after a level change)
fixed a number of botclient crashes relating to invalid client->edict pointers after a level change
now sets client->spawned = true on botclients when freshly spawned (they were already being set correctly on level change)
DP_SV_BOTCLIENT now works properly

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4744 d7cf8633-e32d-0410-b094-e92efae38249
host.c
host_cmd.c
netconn.c
sv_main.c
sv_phys.c
sv_user.c