hide menuitem when not in http mode

This commit is contained in:
Eric House 2017-10-21 14:24:38 -07:00
parent 284888df44
commit a6602fabe0

View file

@ -1290,8 +1290,10 @@ makeMenus( GtkGameGlobals* globals )
#ifdef MEM_DEBUG #ifdef MEM_DEBUG
(void)createAddItem( fileMenu, "Mem stats", (void)createAddItem( fileMenu, "Mem stats",
(GCallback)handle_memstats, globals ); (GCallback)handle_memstats, globals );
if ( globals->cGlobals.params->useHTTP ) {
(void)createAddItem( fileMenu, "Check for moves", (void)createAddItem( fileMenu, "Check for moves",
(GCallback)handle_movescheck, globals ); (GCallback)handle_movescheck, globals );
}
#endif #endif
#ifdef XWFEATURE_ACTIVERECT #ifdef XWFEATURE_ACTIVERECT