Fix bugs found by asmwalk/semdiff, add luaL_error returns, typed template tags
- luaB_getfenv: look up __environment metafield like 12340 - DSPSfxReverb::setParameterInternal: set mUpdate for REFLECTIONSLEVEL and REVERBLEVEL - CGGameUI::DestroyTotem, Script_SetTotem: test the totem GUID, not unk_0004 - Missing return 0 after luaL_error in script functions - OFFSET tags of template instances carry their instance type: [0xXXXXXX<Type>] Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
@@ -82,6 +82,7 @@ static int32_t Script_SetModel(lua_State* L) {
|
||||
|
||||
if (!model->m_model) {
|
||||
luaL_error(L, "Invalid model file: %s", fileName);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user