apparently M_ToggleMenu_f is not what to call... Call_MR_ToggleMenu_f is
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Sep 2004 00:57:59 +0000 (00:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Sep 2004 00:57:59 +0000 (00:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4473 d7cf8633-e32d-0410-b094-e92efae38249

cl_demo.c

index 96e980d..be9bf40 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -19,7 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 
 #include "quakedef.h"
-#include "menu.h"
 
 void CL_FinishTimeDemo (void);
 
@@ -43,6 +42,7 @@ CL_NextDemo
 Called to play the next demo in the demo loop
 =====================
 */
+extern void Call_MR_ToggleMenu_f (void);
 void CL_NextDemo (void)
 {
        char    str[1024];
@@ -59,7 +59,7 @@ void CL_NextDemo (void)
                        cls.demonum = -1;
                        // put up menu instead of staring at console
                        if (key_dest != key_menu)
-                               M_ToggleMenu_f();
+                               Call_MR_ToggleMenu_f();
                        return;
                }
        }