summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2014-03-20 18:39:36 -0400
committerSimon Howard2014-03-20 18:39:36 -0400
commitedfbfe1d5da7ace84e102e3b68cddfb1a7b1d6c1 (patch)
treeb82964af1e475fc15eeb3b3def25efdaeee9eeac /src
parent974692ac456d003a3da3f21b9fb0d4400d62ee77 (diff)
parent7a50a3cc46e2d2565daf7aa141e170349b712453 (diff)
downloadchocolate-doom-edfbfe1d5da7ace84e102e3b68cddfb1a7b1d6c1.tar.gz
chocolate-doom-edfbfe1d5da7ace84e102e3b68cddfb1a7b1d6c1.tar.bz2
chocolate-doom-edfbfe1d5da7ace84e102e3b68cddfb1a7b1d6c1.zip
Merge pull request #365 from fabiangreffrath/bfg_warning
Print a warning if the user is attempting to record or playback a demo o...
Diffstat (limited to 'src')
-rw-r--r--src/doom/d_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 4068f677..e0bd1d26 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -417,6 +417,15 @@ boolean D_GrabMouseCallback(void)
//
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 ();