floating point value fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2062 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-05-20 09:16:53 +00:00
parent c06feb0b97
commit 23b3ec1455
+1 -1
View File
@@ -255,7 +255,7 @@ char *executeret(const char *p) // all evaluation hap
ident *id = idents->access(c);
if(!id)
{
if(!isdigit(*c) && ((*c!='+' && *c!='-') || (*c && !isdigit(c[1]))))
if(!isdigit(*c) && ((*c!='+' && *c!='-' && *c!='.') || !isdigit(c[1])))
{
conoutf("unknown command: %s", c);
}