Menu

Commit [r2109]  Maximize  Restore  History

Fixes from client crash, correct multithreading handling:

* Created a critical section for the music thread;
* TMd3ModelStaticList created at TGame.Create and destroyed in TGame.Destroy instead of initialization and finalization section;
* Added check if LoadThread is finished before release;
* Correctly release critical sections;
* Fixed bug in TGame.ReleaseDistantTexturesAndModels that failed to release some models with a texture of an already released model, it lead to a model with an invalid texture and a crash.

rrrobles 2025-08-09

changed /trunk/src/common/games.pas
changed /trunk/src/common/genericcreatures.pas
changed /trunk/src/common/humans.pas
changed /trunk/src/common/modellists.pas
/trunk/src/common/games.pas Diff Switch to side-by-side view
Loading...
/trunk/src/common/genericcreatures.pas Diff Switch to side-by-side view
Loading...
/trunk/src/common/humans.pas Diff Switch to side-by-side view
Loading...
/trunk/src/common/modellists.pas Diff Switch to side-by-side view
Loading...