Remove I_Assert in GetItemId in lua_hudlib_drawlist.c

It is legal for lua_getpc to be null (thanks GenericHeroGuy for investigating!)
This commit is contained in:
indev authored and Alug committed 2025-04-23 19:54:22 +02:00
1 parent 0ce8c55ab3
commit baefb4d0b0
1 file changed
-1
-1
View File
@@ -337,7 +337,6 @@ static UINT64 GetItemId(void)
#else
// he who controls the JIT controls the API
const void *p = lua_getpc(gL, 1);
I_Assert(p != NULL);
UINT64 id = (uintptr_t)p;
#endif
// leave bits 0 and 1 free for the string mode