no activating empty buttons

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1663 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-02-17 09:41:46 +00:00
parent 34495cad86
commit 828e443728
+1 -1
View File
@@ -132,7 +132,7 @@ struct mitemtext : mitem
virtual void select()
{
if(action)
if(action && action[0])
{
menustack.add(curmenu);
menuset(NULL);