shithub: choc

Download patch

ref: edfbfe1d5da7ace84e102e3b68cddfb1a7b1d6c1
parent: 974692ac456d003a3da3f21b9fb0d4400d62ee77
parent: 7a50a3cc46e2d2565daf7aa141e170349b712453
author: Simon Howard <fraggle+github@gmail.com>
date: Thu Mar 20 14:39:36 EDT 2014

Merge pull request #365 from fabiangreffrath/bfg_warning

Print a warning if the user is attempting to record or playback a demo o...

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -417,6 +417,15 @@
 //
 void D_DoomLoop (void)
 {
+    if (bfgedition &&
+        (demorecording || (gameaction == ga_playdemo) || netgame))
+    {
+        printf(" WARNING: You are playing using one of the Doom Classic\n"
+               " IWAD files shipped with the Doom 3: BFG Edition. These are\n"
+               " known to be incompatible with the regular IWAD files and\n"
+               " may cause demos and network games to get out of sync.\n");
+    }
+
     if (demorecording)
 	G_BeginRecording ();