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:
committed by
Lars Müller
parent
695d526764
commit
e1143783e5
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user