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:
1 parent
9d1b8ba736
commit
1d15f89433
1 file changed
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user