diff --git a/Source/UI/Window/UIWindowMgr.h b/Source/UI/Window/UIWindowMgr.h index b6b48a1e3..8c560415b 100644 --- a/Source/UI/Window/UIWindowMgr.h +++ b/Source/UI/Window/UIWindowMgr.h @@ -474,7 +474,7 @@ public: UIWindow* sub_A978D0(int id); UIWindow* CreateLayoutWindow(int id); RECT GetMiniPartyUsableArea(); - UIWindow* FindSnapExcludedWindow(int cell); + __declspec(noinline) UIWindow* FindSnapExcludedWindow(int cell); void Schedule(UIWindow* window); __declspec(noinline) void AddRendered(UIWindow* window); void RegisterWindow(UIWindow* window);