mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
slight map generation bugs
This commit is contained in:
parent
3fe377be4e
commit
a5c62045ed
3 changed files with 12 additions and 3 deletions
|
@ -155,12 +155,16 @@ inline bool content_buildable_to(u8 m)
|
|||
*/
|
||||
inline bool is_ground_content(u8 m)
|
||||
{
|
||||
return (m != CONTENT_WATER
|
||||
return (
|
||||
m != CONTENT_IGNORE
|
||||
&& m != CONTENT_AIR
|
||||
&& m != CONTENT_WATER
|
||||
&& m != CONTENT_TORCH
|
||||
&& m != CONTENT_TREE
|
||||
&& m != CONTENT_LEAVES
|
||||
&& m != CONTENT_OCEAN
|
||||
&& m != CONTENT_CLOUD);
|
||||
&& m != CONTENT_CLOUD
|
||||
);
|
||||
}
|
||||
|
||||
inline bool is_mineral(u8 c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue