menu closing fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2742 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -38,7 +38,7 @@ void closemenu(const char *name)
|
||||
{
|
||||
gmenu *m = menus.access(name);
|
||||
if(!m) return;
|
||||
if(curmenu==m) menuset(NULL);
|
||||
if(curmenu==m) menuset(menustack.empty() ? NULL : menustack.pop());
|
||||
else loopv(menustack)
|
||||
{
|
||||
if(menustack[i]==m)
|
||||
|
||||
Reference in New Issue
Block a user