From 3ed99e27effc3de88ab7a5f10a40064a7cd03ff0 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 15 Feb 2026 10:16:49 -0500 Subject: [PATCH] Fix evalmath not properly getting sound effects --- src/deh_lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deh_lua.c b/src/deh_lua.c index 023a08958..90a65cd84 100644 --- a/src/deh_lua.c +++ b/src/deh_lua.c @@ -372,7 +372,7 @@ static int ScanConstants(lua_State *L, boolean mathlib, const char *word) else if (fastncmp("sfx_",word,4)) { p = word+4; for (i = 0; i < NUMSFX; i++) - if (S_sfx[i].name && fastcmp(p, S_sfx[i].name)) { + if (S_sfx[i].name && fasticmp(p, S_sfx[i].name)) { CacheAndPushConstant(L, word, i); return 1; }