mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Fix (technically functional) string comparison counting an extra character in the comparison length
This commit is contained in:
parent
3d7cd29eda
commit
25cf369f22
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue