This is another fixes-only update, a follow up to 4.0.0.21.
Editor:
- Fixed making a game template without patterns file would include all files in game folder instead of using a list of standard project files.
Compiler:
- Fixed incorrect registration of multi-dimensional arrays in RTTI table, which could lead to runtime errors.
- Fixed wrong script line could be referenced in the error report in some circumstances.
Engine:
- Do not implicitly toggle a "maxed fps" mode when SetGameSpeed is called with value 1000 or higher. This fixes a situation where calling SetGameSpeed(1000) in script enables "maxed" mode, but there's no way to disable it in script, since calling SetGameSpeed with a lower value will not turn it off.
- Fixed game.speech_text_gui setting was ignored when displaying a character speech.
- Fixed character waiting 1 extra tick when turning on spot.
- Fixed Character.FaceDirection() did not reset idle state, so idle animation could start even during turning.
- Fixed Slider unexpectedly incremented MaxValue if it appears equal to MinValue.
- Fixed Direct3D and OpenGL renderers displaying character sprites in a slightly deformed way.
- Fixed Garbage Collector messing up persistent object's (such as Character, etc) reference count, when it's referenced from a user's managed struct, and that struct's instance is getting disposed.