1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Fix some (MSVC) compiler warnings

This commit is contained in:
Lars Mueller
2025-04-04 17:09:12 +02:00
committed by Lars Müller
parent 695d526764
commit e1143783e5
8 changed files with 13 additions and 15 deletions

View File

@@ -104,7 +104,7 @@ void read_item_definition(lua_State* L, int index,
} else if (lua_isstring(L, -1)) {
video::SColor color;
read_color(L, -1, &color);
def.wear_bar_params = WearBarParams({{0.0, color}},
def.wear_bar_params = WearBarParams({{0.0f, color}},
WearBarParams::BLEND_MODE_CONSTANT);
}