Skip to content

Commit

Permalink
Ignore map name case sensitivity when parsing map-specific animations
Browse files Browse the repository at this point in the history
  • Loading branch information
smallmodel committed Jun 2, 2024
1 parent 7fe7e74 commit 2ee1a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/tiki/tiki_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ void TIKI_ParseAnimations(dloaddef_t *ld)
}

while (ld->tikiFile.TokenAvailable(true)) {
if (!Q_strncmp(token, mapname, strlen(token))) {
if (!Q_stricmpn(token, mapname, strlen(token))) {
b_mapspec = true;
} else if (!Q_stricmp(token, "{")) {
break;
Expand Down

0 comments on commit 2ee1a20

Please sign in to comment.