don't perform action if set to -1

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3168 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-10-21 20:11:30 +00:00
parent 005b7ee93c
commit f4f4a72729
+1 -1
View File
@@ -155,7 +155,7 @@ struct mitemmanual : mitem
virtual void select()
{
if(action && action[0])
if(action && action[0] && strcmp(action, "-1"))
{
int oldstack = menustack.length();
push("arg1", text);