commit 7bb13b4e
Add player name to the themes menu
Changed files
| M | source/code/menudef_themes.cpp before |
diff --git a/source/code/menudef_themes.cpp b/source/code/menudef_themes.cpp
index 50d6f78..bd82a25 100644
--- a/source/code/menudef_themes.cpp
+++ b/source/code/menudef_themes.cpp
@@ -52,6 +52,7 @@ public:
ThemesMenu(SDL_Renderer* screen, const std::string& title, bool submenu) : Menu(screen, title, submenu) {
game = std::make_shared<BlockGameSdl>(globalData.xsize-450,100,&globalData.spriteHolder->GetDataHolder());
+ game->name = "Player 1";
game->putSampleBlocks();
sagoTextSetBlueFont(themeTitle);
}