summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Greffrath2014-03-20 14:27:12 +0100
committerFabian Greffrath2014-03-20 14:27:12 +0100
commit1f950e4b9f68cab3c8c4f8fb97043f8fa4edeb16 (patch)
tree6cbbfbe5cf8f04d5404c6faf0a745c9b61d0daaf /src
parent7d8526e3ba91fef73e5c6129cce9a629cb3c8bb4 (diff)
downloadchocolate-doom-1f950e4b9f68cab3c8c4f8fb97043f8fa4edeb16.tar.gz
chocolate-doom-1f950e4b9f68cab3c8c4f8fb97043f8fa4edeb16.tar.bz2
chocolate-doom-1f950e4b9f68cab3c8c4f8fb97043f8fa4edeb16.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/doom/d_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 4068f677..f302f772 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -417,6 +417,17 @@ boolean D_GrabMouseCallback(void)
//
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 ();