mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Enable -Wimplicit-fallthrough and use [[fallthrough]] attribute
This commit is contained in:
@@ -478,6 +478,7 @@ TileDef read_tiledef(lua_State *L, int index, u8 drawtype, bool special)
|
||||
// "break" is omitted here intentionaly, as PLANTLIKE
|
||||
// FIRELIKE drawtype both should default to having
|
||||
// backface_culling to false.
|
||||
[[fallthrough]];
|
||||
case NDT_MESH:
|
||||
case NDT_LIQUID:
|
||||
default_culling = false;
|
||||
|
Reference in New Issue
Block a user