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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user