Another GOL rendering fix

This commit is contained in:
Tamás Bálint Misius 2020-10-29 17:17:09 +01:00
parent 1369dbc489
commit 88f97ff2ec
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2
2 changed files with 7 additions and 2 deletions

View File

@ -1299,7 +1299,7 @@ void GameSave::readOPS(char * data, int dataLength)
}
break;
case PT_LIFE:
if (savedVersion < 95 || minorVersion < 1)
if (savedVersion < 96 && !fakeNewerVersion)
{
if (particles[newIndex].ctype >= 0 && particles[newIndex].ctype < NGOL)
{

View File

@ -60,8 +60,13 @@ static int graphics(GRAPHICS_FUNC_ARGS)
bool renderDeco = !ren->blackDecorations;
if (ruleset >= 0 && ruleset < NGOL)
{
if (!renderDeco)
{
colour1 = builtinGol[ruleset].colour;
colour2 = builtinGol[ruleset].colour2;
renderDeco = true;
}
ruleset = builtinGol[ruleset].ruleset;
renderDeco = true;
}
if (renderDeco)
{