mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Fix still being able to unlock things in custommode
This was caused by the fact that not all unlocks were done through the Game::unlocknum() function. Some just set the unlock number directly. But it's fixed now.
This commit is contained in:
parent
c4853688b4
commit
7f61147973
2 changed files with 3 additions and 3 deletions
|
@ -3390,7 +3390,7 @@ void Game::updatestate()
|
||||||
{
|
{
|
||||||
//flip mode complete
|
//flip mode complete
|
||||||
NETWORK_unlockAchievement("vvvvvvgamecompleteflip");
|
NETWORK_unlockAchievement("vvvvvvgamecompleteflip");
|
||||||
unlock[19] = true;
|
unlocknum(19);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bestgamedeaths == -1)
|
if (bestgamedeaths == -1)
|
||||||
|
@ -3425,7 +3425,7 @@ void Game::updatestate()
|
||||||
if (nodeathmode)
|
if (nodeathmode)
|
||||||
{
|
{
|
||||||
NETWORK_unlockAchievement("vvvvvvmaster"); //bloody hell
|
NETWORK_unlockAchievement("vvvvvvmaster"); //bloody hell
|
||||||
unlock[20] = true;
|
unlocknum(20);
|
||||||
state = 3520;
|
state = 3520;
|
||||||
statedelay = 0;
|
statedelay = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1515,7 +1515,7 @@ void scriptclass::run()
|
||||||
}
|
}
|
||||||
else if (words[0] == "entersecretlab")
|
else if (words[0] == "entersecretlab")
|
||||||
{
|
{
|
||||||
game.unlock[8] = true;
|
game.unlocknum(8);
|
||||||
game.insecretlab = true;
|
game.insecretlab = true;
|
||||||
}
|
}
|
||||||
else if (words[0] == "leavesecretlab")
|
else if (words[0] == "leavesecretlab")
|
||||||
|
|
Loading…
Reference in a new issue