diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index cf154b549..f3825fa49 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -4289,7 +4289,7 @@ repeatcase: gamefunctions[j][i] = *textptr; keydefaults[j*3][i] = *textptr; textptr++,i++; - if (*textptr == '/') + if (*textptr == '/' || *textptr == ' ') { initprintf("%s:%d: warning: invalid character in function name.\n",compilefile,line_number); while (*textptr != 0x0a && *textptr != 0x0d && *textptr != 0) textptr++; @@ -4297,8 +4297,8 @@ repeatcase: } if (i >= MAXGAMEFUNCLEN-1) { - initprintf("%s:%d: error: function name exceeds limit of %d characters.\n",compilefile,line_number,MAXGAMEFUNCLEN); - error++; + initprintf("%s:%d: warning: function name exceeds limit of %d characters.\n",compilefile,line_number,MAXGAMEFUNCLEN); +// error++; while (*textptr != 0x0a && *textptr != 0x0d && *textptr != 0) textptr++; break; }