summaryrefslogtreecommitdiff
path: root/src/SSVOpenHexagon/Core/HexagonGame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SSVOpenHexagon/Core/HexagonGame.cpp')
-rw-r--r--src/SSVOpenHexagon/Core/HexagonGame.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/SSVOpenHexagon/Core/HexagonGame.cpp b/src/SSVOpenHexagon/Core/HexagonGame.cpp
index 7ebbe1da..953fd41e 100644
--- a/src/SSVOpenHexagon/Core/HexagonGame.cpp
+++ b/src/SSVOpenHexagon/Core/HexagonGame.cpp
@@ -292,6 +292,11 @@ HexagonGame::HexagonGame(Steam::steam_manager* mSteamManager,
pbText{initText(fontBold, "", 65.f)},
txStarParticle{nullptr},
txSmallCircle{nullptr},
+ keyIconLeft{assets.getTextureOrNullTexture("keyArrow.png")},
+ keyIconRight{assets.getTextureOrNullTexture("keyArrow.png")},
+ keyIconFocus{assets.getTextureOrNullTexture("keyFocus.png")},
+ keyIconSwap{assets.getTextureOrNullTexture("keySwap.png")},
+ replayIcon{assets.getTextureOrNullTexture("replayIcon.png")},
levelInfoTextLevel{font, ""},
levelInfoTextPack{font, ""},
levelInfoTextAuthor{font, ""},
@@ -301,12 +306,7 @@ HexagonGame::HexagonGame(Steam::steam_manager* mSteamManager,
fpsText{initText(font, "0", 25.f)},
timeText{initText(fontBold, "0", 70.f)},
text{initText(font, "", 25.f)},
- replayText{initText(font, "", 20.f)},
- keyIconLeft{assets.getTextureOrNullTexture("keyArrow.png")},
- keyIconRight{assets.getTextureOrNullTexture("keyArrow.png")},
- keyIconFocus{assets.getTextureOrNullTexture("keyFocus.png")},
- keyIconSwap{assets.getTextureOrNullTexture("keySwap.png")},
- replayIcon{assets.getTextureOrNullTexture("replayIcon.png")}
+ replayText{initText(font, "", 20.f)}
{
if(window != nullptr)
{