Update Menu.hpp

This commit is contained in:
0TheSpy 2021-07-10 19:18:24 +03:00 committed by GitHub
parent b37e6688c0
commit 8f17bfeb0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2119,21 +2119,13 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::EndTabItem();
}
ImGui::EndTabBar();
ImGui::End();
ImGui::EndFrame();
ImGui::Render();
ImGui_ImplDX9_RenderDrawData(ImGui::GetDrawData());
}
if (*g_Options.hitmarker && iff.g_pEngineClient->IsInGame()) {
iff.g_pDebugOverlay->ClearAllOverlays();
for (int i = 0; i < bulletdata.size(); i++) {
@ -2153,9 +2145,5 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
bulletdata[i].time += iff.g_pGlobals->curtime - bulletdata[i].time;
}
}
return oEndScene(pDevice);
}