Skip to content

Commit ab4d0ed

Browse files
committed
UILetterboxing: don't letterbox on GOAL screen
1 parent 617240f commit ab4d0ed

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/hooks_uiscaling.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,12 @@ class UILetterboxing : public Hook
747747
VertexBuf->Unlock();
748748
}
749749

750-
bool isInGame = *Game::current_mode == GameState::STATE_GAME ||
750+
bool isInGame =
751+
*Game::current_mode == GameState::STATE_GAME ||
752+
*Game::current_mode == GameState::STATE_GOAL ||
753+
*Game::current_mode == GameState::STATE_TIMEUP ||
754+
*Game::current_mode == GameState::STATE_TRYAGAIN ||
755+
*Game::current_mode == GameState::STATE_OUTRUNMILES ||
751756
*Game::current_mode == GameState::STATE_SMPAUSEMENU ||
752757
(*Game::current_mode == GameState::STATE_START && *Game::game_start_progress_code == 65);
753758

src/resource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#define MODULE_VERSION_MAJOR 0
1717
#define MODULE_VERSION_MINOR 4
18-
#define MODULE_VERSION_BUILD 0
18+
#define MODULE_VERSION_BUILD 1
1919
#define MODULE_VERSION_REVISION 0
2020

2121
#define STR(value) #value

0 commit comments

Comments
 (0)