From 1f950e4b9f68cab3c8c4f8fb97043f8fa4edeb16 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Thu, 20 Mar 2014 14:27:12 +0100 Subject: 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. --- src/doom/d_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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 (); -- cgit v1.2.3 From 7a50a3cc46e2d2565daf7aa141e170349b712453 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Thu, 20 Mar 2014 15:57:20 +0100 Subject: Remove superfluous dividers. --- src/doom/d_main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/doom/d_main.c b/src/doom/d_main.c index f302f772..e0bd1d26 100644 --- a/src/doom/d_main.c +++ b/src/doom/d_main.c @@ -420,12 +420,10 @@ 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) -- cgit v1.2.3