mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Merge pull request #776 from InfoTeddy/general-bug-fixes-6
Explore all rooms when entering Secret Lab
This commit is contained in:
commit
b07d92ac44
1 changed files with 4 additions and 8 deletions
|
@ -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")
|
||||
{
|
||||
|
@ -2851,14 +2852,9 @@ void scriptclass::startgamemode( int t )
|
|||
game.jumpheld = true;
|
||||
|
||||
//Secret lab, so reveal the map, give them all 20 trinkets
|
||||
for (int j = 0; j < 20; j++)
|
||||
{
|
||||
obj.collect[j] = true;
|
||||
for (i = 0; i < 20; i++)
|
||||
{
|
||||
map.setexplored(i, j, true);
|
||||
}
|
||||
}
|
||||
SDL_memset(obj.collect, true, sizeof(obj.collect[0]) * 20);
|
||||
SDL_memset(map.explored, true, sizeof(map.explored));
|
||||
i = 400; /* previously a nested for-loop set this */
|
||||
game.insecretlab = true;
|
||||
map.showteleporters = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue