Skip to content

Commit

Permalink
hope that fixes it (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
3drosalia committed May 2, 2024
1 parent f334a41 commit 8e78662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Encore/src/game/assets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Texture2D Assets::LoadTextureFilter(const std::filesystem::path &texturePath) {


void Assets::MaterialMapper() {
player player;
Player player;
smasherReg = LoadModel((directory / "Assets/highway/smasher.obj").string().c_str());
smasherRegTex = Assets::LoadTextureFilter(directory / "Assets/highway/smasher_reg.png");

Expand Down
2 changes: 1 addition & 1 deletion Encore/src/game/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void Menu::loadMenu(SongList songList, GLFWgamepadstatefun gamepadStateCallbackS
songi.artistScrollTime = GetTime();
songi.artistTextWidth = assets.MeasureTextRubik(songi.artist.c_str(), 20);
}
currentScreen = SONG_SELECT;
Menu::SwitchScreen(SONG_SELECT);
}
if (GuiButton({((float) GetScreenWidth() / 2) - 100, ((float) GetScreenHeight() / 2) - 30, 200, 60},
"Options")) {
Expand Down

0 comments on commit 8e78662

Please sign in to comment.