Skip to content

Fixed Limit Adjuster compatibility#139

Open
CookiePLMonster wants to merge 2 commits into
thelink2012:masterfrom
CookiePLMonster:modelinfo-hotfix
Open

Fixed Limit Adjuster compatibility#139
CookiePLMonster wants to merge 2 commits into
thelink2012:masterfrom
CookiePLMonster:modelinfo-hotfix

Conversation

@CookiePLMonster
Copy link
Copy Markdown
Contributor

This PR introduces two more fixes for OLA and FLA compatibility:

  1. Unload FLA if it lacks any of the imports we need. FLA like this is unlikely to exist, but let's play it safe.
  2. Clean up ms_aInfoForModel mod compatibility. Now everything is lazily loaded and pointer hacks are removed.

Fixes incompatibilities when:

  • OLA was loaded through Mod Loader.
  • It expanded ms_aInfoForModel, for example by changing the TxdStore limit.
  • Abstract streaming hooks were in use due to vehicle models being loaded by ML.

FLA like this is unlikely to exist, but let's play it safe.
Now everything is lazily loaded and pointer hacks are removed.
Fixes incompatibilities when OLA was loaded through Modloader.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant