improved lan searching
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2643 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -478,10 +478,15 @@ void newmenu(char *name, char *hotkeys, char *forwardkeys)
|
||||
addmenu(name, NULL, true, NULL, atoi(hotkeys) > 0, atoi(forwardkeys) > 0);
|
||||
}
|
||||
|
||||
void menumanual(void *menu, int n, char *text, char *action, color *bgcolor, const char *desc)
|
||||
void menureset(void *menu)
|
||||
{
|
||||
gmenu &m = *(gmenu *)menu;
|
||||
m.items.deletecontentsp();
|
||||
}
|
||||
|
||||
void menumanual(void *menu, char *text, char *action, color *bgcolor, const char *desc)
|
||||
{
|
||||
gmenu &m = *(gmenu *)menu;
|
||||
if(!n) m.items.deletecontentsp();
|
||||
m.items.add(new mitemmanual(&m, text, action, NULL, bgcolor, desc));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user