mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Merge pull request #776 from InfoTeddy/general-bug-fixes-6
Explore all rooms when entering Secret Lab
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user