1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix MSVC build

Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
This commit is contained in:
SmallJoker 2014-12-05 16:09:49 +10:00 committed by Craig Robbins
parent a648120d54
commit 5da6896d51
2 changed files with 2 additions and 2 deletions

View file

@ -238,7 +238,7 @@ void Hud::drawItems(v2s32 upperleftpos, s32 itemcount, s32 offset,
void Hud::drawLuaElements(v3s16 camera_offset) {
uint32_t text_height = g_fontengine->getTextHeight();
u32 text_height = g_fontengine->getTextHeight();
irr::gui::IGUIFont* font = g_fontengine->getFont();
for (size_t i = 0; i != player->maxHudId(); i++) {
HudElement *e = player->getHud(i);