mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-27 17:59:49 +02:00
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:
@@ -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