Rename respawncolour to savecolour

Since it's a variable like saverx/savery/savex/savey, it should be
renamed to savecolour and placed with all of them.
This commit is contained in:
Misa
2021-09-06 18:28:28 -07:00
parent 8e61a04937
commit b3f437fe55
4 changed files with 11 additions and 14 deletions

View File

@@ -1674,7 +1674,7 @@ void scriptclass::run(void)
}
else if (words[0] == "changerespawncolour")
{
game.respawncolour = getcolorfromname(words[1]);
game.savecolour = getcolorfromname(words[1]);
}
else if (words[0] == "altstates")
{
@@ -3130,6 +3130,7 @@ void scriptclass::hardreset(void)
game.saverx = 0;
game.savery = 0;
}
game.savecolour = 0;
game.intimetrial = false;
game.timetrialcountdown = 0;
@@ -3188,8 +3189,6 @@ void scriptclass::hardreset(void)
game.disabletemporaryaudiopause = true;
game.respawncolour = 0;
//dwgraphicsclass
graphics.backgrounddrawn = false;
graphics.textbox.clear();