1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02: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:
Misa 2021-06-11 22:31:40 -07:00
parent d404986e6f
commit 6dd01495f3

View File

@ -1515,6 +1515,7 @@ void scriptclass::run(void)
{
game.unlocknum(8);
game.insecretlab = true;
SDL_memset(map.explored, true, sizeof(map.explored));
}
else if (words[0] == "leavesecretlab")
{