diff --git a/polymer/eduke32/source/demo.c b/polymer/eduke32/source/demo.c index cbfb58323..a0dfaecbe 100644 --- a/polymer/eduke32/source/demo.c +++ b/polymer/eduke32/source/demo.c @@ -135,6 +135,13 @@ extern int32_t krd_print(const char *filename); void G_OpenDemoWrite(void) { +#ifdef LUNATIC + // TODO: Currently, we can't diff gamevars in Lunatic... + Bstrcpy(ScriptQuotes[QUOTE_RESERVED4], "DEMOS UNSUPPORTED IN LUNATIC BUILD"); + P_DoQuote(QUOTE_RESERVED4, g_player[myconnectindex].ps); + ud.recstat = ud.m_recstat = 0; + return; +#else char demofn[BMAX_PATH]; int32_t i, demonum=1; @@ -151,7 +158,7 @@ void G_OpenDemoWrite(void) ud.recstat = ud.m_recstat = 0; return; } -#if !defined LUNATIC +# if !defined LUNATIC if (demorec_diffs_cvar && !demorec_force_cvar) for (i=1; i