projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c25118
)
fix id1 demos to not show deathmatch overlay (they incorrectly contain
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 4 Sep 2008 06:06:07 +0000
(06:06 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 4 Sep 2008 06:06:07 +0000
(06:06 +0000)
gametype deathmatch)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8489
d7cf8633
-e32d-0410-b094-
e92efae38249
cl_parse.c
patch
|
blob
|
history
diff --git
a/cl_parse.c
b/cl_parse.c
index d5cb5896af55d0020af023d9f3fa8c1548bf76bc..77ffee399c4fedeb0407fa13e89ba42c6244104b 100644
(file)
--- a/
cl_parse.c
+++ b/
cl_parse.c
@@
-1541,6
+1541,10
@@
void CL_ParseServerInfo (void)
// parse gametype
cl.gametype = MSG_ReadByte ();
+ // the original id singleplayer demos are bugged and contain
+ // GAME_DEATHMATCH even for singleplayer
+ if (cl.maxclients == 1 && cls.protocol == PROTOCOL_QUAKE)
+ cl.gametype = GAME_COOP;
// parse signon message
str = MSG_ReadString ();