no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@761 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -215,9 +215,12 @@ bool menukey(int code, bool isdown)
|
||||
int n = curmenu->items.length();
|
||||
if(menusel<0) menusel = n>0 ? n-1 : 0;
|
||||
else if(menusel>=n) menusel = 0;
|
||||
curmenu->menusel = menusel;
|
||||
char *haction = curmenu->items[menusel].hoveraction;
|
||||
if(menusel != oldmenusel && haction) execute(haction);
|
||||
if(curmenu->items.inrange(menusel))
|
||||
{
|
||||
curmenu->menusel = menusel;
|
||||
char *haction = curmenu->items[menusel].hoveraction;
|
||||
if(menusel != oldmenusel && haction) execute(haction);
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user