Arizona_Steve Posted September 23, 2022 Posted September 23, 2022 Simple question - I believe I may have my code (in the Random Sex mod) incorrect. From version 2: const GFxLoader* const loader = GFxLoader::GetSingleton(); GFxStateBag* const stateBag = (loader == nullptr) ? nullptr : loader->stateBag; const BSScaleformTranslator* const translator = (stateBag == nullptr) ? nullptr : stateBag->GetTranslator(); if (translator == nullptr) { _WARNING(ERROR_TRANSLATOR_LOAD); return ""; } Is there a more correct way of doing this? I believe the code above may be responsible for CTDs when generating notifications. Edit: Didn't realize there was a separate tech support section for SE, but I suspect the code is similar for both (the above is for AE).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.