OpenKh
OpenKh copied to clipboard
[BUG] - Game engine crash due to invalid FOV value
OpenKH Build Build 1385
OpenKH Program Game engine
Describe the Bug The game engine crashes when camera looks at Demyx.
To Reproduce
- Go to map he10 and load event 105 (When Demyx appears for the first time)
- Close the main menu and wait until the game window closes.
Expected behavior The event should play normally.
Screenshots
This is when the engine crashes.
Additional context Crash due to invalid FOV value. Log Game engine
This pr should fix the issue haven't tested it myself https://github.com/Xeeynamo/OpenKh/pull/418
The issue will remain open until #418 is merged and tested.
Latest release build (298) still crashes with fov out of range: tt34 event: 314 (fov has a value of 204.something) on previous testing before pr #418 the game crashes when fov >= 204. tt04 event: 309 crashes with a negative fov of -6.something.