* Fixed some vm build warnings

This commit is contained in:
Tim Angus 2005-10-05 14:50:45 +00:00
parent 79ba2d974d
commit 9d41e17e1f
12 changed files with 18 additions and 48 deletions

View file

@ -821,10 +821,10 @@ void UI_SetActiveMenu( uiMenuCommand_t menu ) {
UI_MainMenu();
return;
case UIMENU_NEED_CD:
UI_ConfirmMenu( "Insert the CD", (voidfunc_f)NULL, NeedCDAction );
UI_ConfirmMenu( "Insert the CD", 0, NeedCDAction );
return;
case UIMENU_BAD_CD_KEY:
UI_ConfirmMenu( "Bad CD Key", (voidfunc_f)NULL, NeedCDKeyAction );
UI_ConfirmMenu( "Bad CD Key", 0, NeedCDKeyAction );
return;
case UIMENU_INGAME:
/*

View file

@ -120,11 +120,11 @@ void InGame_Event( void *ptr, int notification ) {
break;
case ID_RESTART:
UI_ConfirmMenu( "RESTART ARENA?", (voidfunc_f)NULL, InGame_RestartAction );
UI_ConfirmMenu( "RESTART ARENA?", 0, InGame_RestartAction );
break;
case ID_QUIT:
UI_ConfirmMenu( "EXIT GAME?", (voidfunc_f)NULL, InGame_QuitAction );
UI_ConfirmMenu( "EXIT GAME?", 0, InGame_QuitAction );
break;
case ID_SERVERINFO:

View file

@ -126,7 +126,7 @@ void Main_MenuEvent (void* ptr, int event) {
break;
case ID_EXIT:
UI_ConfirmMenu( "EXIT GAME?", NULL, MainMenu_ExitAction );
UI_ConfirmMenu( "EXIT GAME?", 0, MainMenu_ExitAction );
break;
}
}

View file

@ -1265,11 +1265,11 @@ static void ArenaServers_Event( void* ptr, int event ) {
case ID_PUNKBUSTER:
if (g_arenaservers.punkbuster.curvalue)
{
UI_ConfirmMenu_Style( "Enable Punkbuster?", UI_CENTER|UI_INVERSE|UI_SMALLFONT, (voidfunc_f)NULL, Punkbuster_ConfirmEnable );
UI_ConfirmMenu_Style( "Enable Punkbuster?", UI_CENTER|UI_INVERSE|UI_SMALLFONT, 0, Punkbuster_ConfirmEnable );
}
else
{
UI_ConfirmMenu_Style( "Disable Punkbuster?", UI_CENTER|UI_INVERSE|UI_SMALLFONT, (voidfunc_f)NULL, Punkbuster_ConfirmDisable );
UI_ConfirmMenu_Style( "Disable Punkbuster?", UI_CENTER|UI_INVERSE|UI_SMALLFONT, 0, Punkbuster_ConfirmDisable );
}
break;
}