mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Explore all rooms when entering Secret Lab
If you enter the Secret Lab from the title screen, all rooms will be explored. However, if you enter the Secret Lab via the Secret Lab entrance cutscene (epilogue), not all rooms will be explored, which is inconsistent. To do this, just do an SDL_memset() for the entersecretlab script command.
This commit is contained in:
parent
d404986e6f
commit
6dd01495f3
1 changed files with 1 additions and 0 deletions
|
@ -1515,6 +1515,7 @@ void scriptclass::run(void)
|
||||||
{
|
{
|
||||||
game.unlocknum(8);
|
game.unlocknum(8);
|
||||||
game.insecretlab = true;
|
game.insecretlab = true;
|
||||||
|
SDL_memset(map.explored, true, sizeof(map.explored));
|
||||||
}
|
}
|
||||||
else if (words[0] == "leavesecretlab")
|
else if (words[0] == "leavesecretlab")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue