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
1 changed files with 1 additions and 1 deletions

View File

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