mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
LUS Cleanup: Clean up hooks system.
This commit is contained in:
parent
8431cddb14
commit
fd379896d6
14 changed files with 26 additions and 59 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue