From e5df08bc43604697b1b9109af3f0e46fc3061418 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 19 Nov 2025 15:20:06 -0500 Subject: [PATCH] Some more UDMF conversion changes --- src/deh_lua.c | 2 +- src/p_setup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deh_lua.c b/src/deh_lua.c index 4c6dbf4d0..30d9d4560 100644 --- a/src/deh_lua.c +++ b/src/deh_lua.c @@ -357,7 +357,7 @@ static int ScanConstants(lua_State *L, boolean mathlib, const char *word) if (mathlib) return luaL_error(L, "player sprite '%s' could not be found.\n", word); return 0; } - else if (!mathlib && fastncmp("sfx_",word,4)) { + 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)) { diff --git a/src/p_setup.c b/src/p_setup.c index 401eb0d5d..c0b564b46 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -2741,7 +2741,7 @@ static void P_WriteTextmap(void) { case 9: case 10: - CONS_Alert(CONS_WARNING, M_GetText("Sector %s has ring drainer effect, which is not supported in UDMF. Use linedef type 462 instead.\n"), sizeu1(i)); + CONS_Alert(CONS_WARNING, M_GetText("Sector %s has ring drainer effect, which is not supported in UDMF. Use linedef type 460 instead.\n"), sizeu1(i)); break; default: break;