menu fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1548 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -231,7 +231,7 @@ char *executeret(const char *p) // all evaluation hap
|
||||
const int MAXWORDS = 25; // limit, remove
|
||||
char *w[MAXWORDS];
|
||||
char *retval = NULL;
|
||||
#define setretval(v) { char *rv = v; if(rv) retval = rv; commandret = NULL; }
|
||||
#define setretval(v) { char *rv = v; if(rv) retval = rv; }
|
||||
for(bool cont = true; cont;) // for each ; seperated statement
|
||||
{
|
||||
int numargs = MAXWORDS;
|
||||
@@ -298,6 +298,7 @@ char *executeret(const char *p) // all evaluation hap
|
||||
}
|
||||
}
|
||||
setretval(commandret);
|
||||
commandret = NULL;
|
||||
break;
|
||||
|
||||
case ID_VAR: // game defined variables
|
||||
|
||||
Reference in New Issue
Block a user