This commit is contained in:
Cubitect 2020-03-15 16:57:17 +01:00
commit 0186b530de

View File

@ -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)