mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 22:38:38 +01:00
Another GOL rendering fix
This commit is contained in:
parent
1369dbc489
commit
88f97ff2ec
@ -1299,7 +1299,7 @@ void GameSave::readOPS(char * data, int dataLength)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PT_LIFE:
|
case PT_LIFE:
|
||||||
if (savedVersion < 95 || minorVersion < 1)
|
if (savedVersion < 96 && !fakeNewerVersion)
|
||||||
{
|
{
|
||||||
if (particles[newIndex].ctype >= 0 && particles[newIndex].ctype < NGOL)
|
if (particles[newIndex].ctype >= 0 && particles[newIndex].ctype < NGOL)
|
||||||
{
|
{
|
||||||
|
@ -60,8 +60,13 @@ static int graphics(GRAPHICS_FUNC_ARGS)
|
|||||||
bool renderDeco = !ren->blackDecorations;
|
bool renderDeco = !ren->blackDecorations;
|
||||||
if (ruleset >= 0 && ruleset < NGOL)
|
if (ruleset >= 0 && ruleset < NGOL)
|
||||||
{
|
{
|
||||||
|
if (!renderDeco)
|
||||||
|
{
|
||||||
|
colour1 = builtinGol[ruleset].colour;
|
||||||
|
colour2 = builtinGol[ruleset].colour2;
|
||||||
|
renderDeco = true;
|
||||||
|
}
|
||||||
ruleset = builtinGol[ruleset].ruleset;
|
ruleset = builtinGol[ruleset].ruleset;
|
||||||
renderDeco = true;
|
|
||||||
}
|
}
|
||||||
if (renderDeco)
|
if (renderDeco)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user