LUS Cleanup: Clean up hooks system.

This commit is contained in:
Kenix3 2022-08-02 23:14:25 -04:00
commit fd379896d6
14 changed files with 26 additions and 59 deletions

View file

@ -240,7 +240,7 @@ static LRESULT CALLBACK gfx_dxgi_wnd_proc(HWND h_wnd, UINT message, WPARAM w_par
dxgi.current_height = (uint32_t)(l_param >> 16);
break;
case WM_DESTROY:
ModInternal::ExecuteHooks<ModInternal::ExitGame>();
Ship::ExecuteHooks<Ship::ExitGame>();
exit(0);
case WM_PAINT:
if (dxgi.in_paint) {