From 1d0cfdb2fe3511c9d7ffaeb3cb4568c058e51dea Mon Sep 17 00:00:00 2001 From: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com> Date: Sat, 24 Jan 2026 08:38:06 +1300 Subject: [PATCH] HasThisSuffix matching --- src/DETHRACE/common/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DETHRACE/common/world.c b/src/DETHRACE/common/world.c index f6d533a3..1737eeb9 100644 --- a/src/DETHRACE/common/world.c +++ b/src/DETHRACE/common/world.c @@ -2157,7 +2157,7 @@ int HasThisSuffix(char* pIdent, char* pSuffix) { if (pIdent == NULL) { return 0; } - if (pIdent < pSuffix) { + if (len_ident < len_suffix) { return 0; } return strcmp(pIdent + len_ident - len_suffix, pSuffix) == 0;