mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
server starting on port 0 on invalid settings
This commit is contained in:
parent
3de176cc58
commit
58ccc68c81
6 changed files with 35 additions and 10 deletions
|
@ -158,10 +158,17 @@ inline bool is_ground_content(u8 m)
|
|||
m == CONTENT_GRASS ||
|
||||
m == CONTENT_GRASS_FOOTSTEPS ||
|
||||
m == CONTENT_MESE ||
|
||||
m == CONTENT_MUD
|
||||
m == CONTENT_MUD ||
|
||||
m == CONTENT_COALSTONE
|
||||
);
|
||||
}
|
||||
|
||||
inline bool is_mineral(u8 c)
|
||||
{
|
||||
return(c == CONTENT_MESE
|
||||
|| c == CONTENT_COALSTONE);
|
||||
}
|
||||
|
||||
/*inline bool content_has_faces(u8 c)
|
||||
{
|
||||
return (m != CONTENT_IGNORE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue