]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_exec.c
Revert "Revert "Build in subdirs"", as the issues seem to be ironed out now.
[xonotic/darkplaces.git] / prvm_exec.c
index 823c2d38144618172e7ecb4619dde488c99df534..fee9d82995d7d67edb94313bf2176e50cb2521a5 100644 (file)
@@ -662,6 +662,7 @@ extern cvar_t prvm_statementprofiling;
 extern qboolean prvm_runawaycheck;
 
 #ifdef PROFILING
+#ifdef CONFIG_MENU
 /*
 ====================
 MVM_ExecuteProgram
@@ -766,6 +767,7 @@ cleanup:
        if (prog == SVVM_prog)
                SV_FlushBroadcastMessages();
 }
+#endif
 
 /*
 ====================