projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1fd3c
)
add back a cls.signon = 0 in the SpawnServer code that is necessary to prevent crashe...
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 23 Mar 2006 02:34:51 +0000
(
02:34
+0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 23 Mar 2006 02:34:51 +0000
(
02:34
+0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6170
d7cf8633
-e32d-0410-b094-
e92efae38249
sv_main.c
patch
|
blob
|
history
diff --git
a/sv_main.c
b/sv_main.c
index 681fcf86421a60bb1468ab7253c37f446dd10c6c..b2f69658124024543a80c0f9499a02dbe0fde0db 100644
(file)
--- a/
sv_main.c
+++ b/
sv_main.c
@@
-1703,6
+1703,9
@@
void SV_SpawnServer (const char *server)
// set up the new server
//
memset (&sv, 0, sizeof(sv));
+ // if running a local client, make sure it doesn't try to access the last
+ // level's data which is no longer valiud
+ cls.signon = 0;
SV_VM_Setup();