From e1c6396e259a164f57dec9ca6569cb29010a12fc Mon Sep 17 00:00:00 2001 From: Charadon Date: Tue, 31 May 2022 02:10:48 -0400 Subject: Fixed issue where window segfaulted when resized. --- src/title.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/title.c') diff --git a/src/title.c b/src/title.c index fd57c2e..806c0d0 100644 --- a/src/title.c +++ b/src/title.c @@ -38,7 +38,7 @@ void title_screen() { if (CheckCollisionRecs(Mouse, Versus)) { Selected = &Versus; if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT)) { - return; + return; } } else if (CheckCollisionRecs(Mouse, Marathon)) { Selected = &Marathon; @@ -53,7 +53,6 @@ void title_screen() { return; } } - MainCamera.zoom = GetScreenHeight()/720.0f; BeginDrawing(); ClearBackground(BLACK); BeginMode2D(MainCamera); -- cgit 1.4.1-2-gfad0