shithub: choc

Download patch

ref: 1f950e4b9f68cab3c8c4f8fb97043f8fa4edeb16
parent: 7d8526e3ba91fef73e5c6129cce9a629cb3c8bb4
author: Fabian Greffrath <fabian@greffrath.com>
date: Thu Mar 20 10:27:12 EDT 2014

Print a warning if the user is attempting to record or playback a demo or connect to a network game using one of the BFG Edition IWADs.

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -417,6 +417,17 @@
 //
 void D_DoomLoop (void)
 {
+    if (bfgedition &&
+        (demorecording || (gameaction == ga_playdemo) || netgame))
+    {
+        I_PrintDivider();
+        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");
+        I_PrintDivider();
+    }
+
     if (demorecording)
 	G_BeginRecording ();