]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
DP now handles correctly demos containing "svc_disconnect" messages (fix Quake Done...
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 Jun 2004 14:49:07 +0000 (14:49 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 Jun 2004 14:49:07 +0000 (14:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4253 d7cf8633-e32d-0410-b094-e92efae38249

cl_demo.c
todo

index ec3f65d4a7840734b50599760410a2f7c6687e75..2b7f060b062bb0fe67b52814721799f29a8da0c8 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -188,6 +188,10 @@ void CL_ReadDemoMessage(void)
                {
                        MSG_BeginReading();
                        CL_ParseServerMessage();
+
+                       // In case the demo contains a "svc_disconnect" message
+                       if (!cls.demoplayback)
+                               return;
                }
                else
                {
diff --git a/todo b/todo
index 8dea6cdfecf96a0bdd9d47171098410c455aa034..8f5ca6720919698f17e7615c6d136756b8950449 100644 (file)
--- a/todo
+++ b/todo
@@ -30,6 +30,7 @@
 -d darkplaces: r_skyscroll1 and r_skyscroll2 cvars (SeienAbunae)
 -d darkplaces: upgrade network protocol to send precise angles for entities, and make EF_LOWPRECISION downgrade both origin and angles, note this does not cover svc_setangle (Urre, -Wazat for Battlemech, FrikaC, mashakos, RenegadeC, Sajt)
 -d darkplaces: write a readme (Antti)
+-d darkplaces: make sure QuakeDoneQuick works (Chris Kemp)
 -d dpmod: add support for info_player_deathmatch in singleplayer for q3 compatibility (Static_Fiend)
 -d dpmod: add target_position entity for a touch of q3 compatibility on jumppads (Static_Fiend)
 -d dpmod: make grapple off-hand (joe hill)
 0 darkplaces: make server able to work without models, just for sake of completeness
 0 darkplaces: make server queries use a queue to avoid flooding out queries too fast (Willis)
 0 darkplaces: make static entities work in realtime lighting mode, like func_illusionary for example, they're currently black (Urre)
-0 darkplaces: make sure QuakeDoneQuick works (Chris Kemp)
 0 darkplaces: make sure that sky works without a valid size (just treat it as single layer clouds or non-animated) (tell Vermeulen)
 0 darkplaces: make sure that the fragment allocator can upload a full size block that uses the entire image, this may involve width/height comparisons needing a + 1 (fuh)
 0 darkplaces: make sure the engine uses only the first 32 special chars, so the high set can be replaced, this means player messages should not be shifted up, and the 'shift down' printing in dedicated server consoles should be removed, etc (Urre)