summaryrefslogtreecommitdiffstats
path: root/src/game/client/game.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 15:08:33 +0500
committeruntodesu <kirill@untode.su>2025-12-26 15:08:33 +0500
commite639134d2b5e648ae02a7c1befe6e5e8bb7328db (patch)
treede8f1d31f331be5b9ca768d26fb39763854d9f86 /src/game/client/game.cc
parent6c2abde5c99a236453b795abaa6d7d70105e31f7 (diff)
downloadvoxelius-e639134d2b5e648ae02a7c1befe6e5e8bb7328db.tar.bz2
voxelius-e639134d2b5e648ae02a7c1befe6e5e8bb7328db.zip
MSVC is like that all the time
Diffstat (limited to 'src/game/client/game.cc')
-rw-r--r--src/game/client/game.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/game.cc b/src/game/client/game.cc
index 5a67b59..1681c01 100644
--- a/src/game/client/game.cc
+++ b/src/game/client/game.cc
@@ -545,7 +545,7 @@ void client_game::update(void)
auto& io = ImGui::GetIO();
io.FontGlobalScale = scale_min;
- globals::gui_scale = scale_min;
+ globals::gui_scale = static_cast<unsigned int>(scale_min);
}
void client_game::update_late(void)