mirror of
https://github.com/Cubitect/cubiomes.git
synced 2025-09-23 19:55:34 -04:00
removed pointless ternary operator
This commit is contained in:
parent
67a06fb38f
commit
c26e57a1ce
2
layers.c
2
layers.c
@ -886,7 +886,7 @@ inline static int replaceOcean(int *out, int idx, int v10, int v21, int v01, int
|
|||||||
|
|
||||||
inline static int isBiomeJFTO(int id)
|
inline static int isBiomeJFTO(int id)
|
||||||
{
|
{
|
||||||
return biomeExists(id) && getBiomeType(id) == Jungle ? 1 : id == forest || id == taiga || isOceanic(id);
|
return biomeExists(id) && (getBiomeType(id) == Jungle || id == forest || id == taiga || isOceanic(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
void mapShore(Layer *l, int * __restrict out, int areaX, int areaZ, int areaWidth, int areaHeight)
|
void mapShore(Layer *l, int * __restrict out, int areaX, int areaZ, int areaWidth, int areaHeight)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user