no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@971 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-04-24 22:11:42 +00:00
parent accd363994
commit 02585aed87
10 changed files with 147 additions and 33 deletions
+7 -1
View File
@@ -195,7 +195,7 @@ int execute(char *p) // all evaluation happens here,
}
break;
case ID_VAR: // game defined variabled
case ID_VAR: // game defined variables
if(!w[1][0]) conoutf("%s = %d", c, *id->storage); // var with no value just prints its current value
else if(id->min>id->max) conoutf("variable %s is read-only", id->name);
else
@@ -365,3 +365,9 @@ void writecfg()
COMMAND(writecfg, ARG_NONE);
vector<char *> identnames()
{
vector<char *> names;
enumerateht(*idents) names.add(idents->enumc->key);
return names;
}