mirror of
https://github.com/Cubitect/cubiomes.git
synced 2025-09-24 04:03:39 -04:00
Merge branch 'master' of https://github.com/Cubitect/cubiomes
This commit is contained in:
commit
0186b530de
2
layers.h
2
layers.h
@ -202,7 +202,7 @@ static inline int getBiomeType(int id)
|
|||||||
|
|
||||||
static inline int biomeExists(int id)
|
static inline int biomeExists(int id)
|
||||||
{
|
{
|
||||||
return !(biomes[id & 0xff].id & (~0xff));
|
return id <= 0xff && !(biomes[id].id & (~0xff));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int getTempCategory(int id)
|
static inline int getTempCategory(int id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user