Fix white LIFE being created in some cases, such as from EXOT+NEUT
The default for v is -1, which gets interpreted as a GoL rule with all bits set. Now, it will default to builtin-type GOL when v is -1.
This commit is contained in:
parent
1ffc2055ca
commit
4907b84a84
@ -91,6 +91,8 @@ static int graphics(GRAPHICS_FUNC_ARGS)
|
||||
|
||||
static void create(ELEMENT_CREATE_FUNC_ARGS)
|
||||
{
|
||||
if (v == -1)
|
||||
v = 0;
|
||||
// * 0x200000: No need to look for colours, they'll be set later anyway.
|
||||
bool skipLookup = v & 0x200000;
|
||||
v &= 0x1FFFFF;
|
||||
|
Reference in New Issue
Block a user