Fix (technically functional) string comparison counting an extra character in the comparison length

This commit is contained in:
Jaime Passos 2020-02-25 22:34:19 -03:00
parent 3d7cd29eda
commit 25cf369f22

View file

@ -10236,7 +10236,7 @@ static fixed_t find_const(const char **rword)
free(word); free(word);
return r; return r;
} }
else if (fastncmp("GT_",word,4)) { else if (fastncmp("GT_",word,3)) {
r = get_gametype(word); r = get_gametype(word);
free(word); free(word);
return r; return r;