fix: jump fails in certain cases

This commit is contained in:
2026-03-14 18:00:02 +08:00
parent cf423c7db4
commit 7012e5f9fe
4 changed files with 6 additions and 5 deletions

View File

@@ -244,8 +244,9 @@ int main() {
glfwSwapInterval(1);
glfwSetWindowSizeCallback(window, window_reshape_callback);
glfwSetKeyCallback(window, key_callback);
glfwSetMouseButtonCallback(window, mouse_button_callback);
glfwSetCursorPosCallback(window, cursor_position_callback);
glfwSetMouseButtonCallback(window, mouse_button_callback);
MapTable::init_map();
texture_manager.init_texture();
world.init_world();