Windower / Fenestra

The open-source development version of Windower.
Other
20 stars 14 forks source link

Crash on cycling through targets using tab #1

Open Nifim opened 5 years ago

Nifim commented 5 years ago

Game crashes when cycling targets using tab while two targets are on top of each other. Issue has been traced to SE apparently depending on the non-standard FPU behavior of D3D8.

Removing | D3DCREATE_FPU_PRESERVE resolves the crashing behavior; however, | D3DCREATE_FPU_PRESERVE is needed for LuaJit. https://github.com/Windower/windower/blob/master/core/src/wrappers/direct_3d.cpp#L190

To reproduce the error: have two chars zone in from West Ron to Northern Sandy, then with a third char stand where you can see the 3 NPCs near the gate and press tab to cycle through the chars.