mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix some (MSVC) compiler warnings
This commit is contained in:
parent
695d526764
commit
e1143783e5
8 changed files with 13 additions and 15 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue