Set Secret Lab/Super Gravitron hidden names

It seems appropriate that these rooms should have their names shown on
the map screen.
This commit is contained in:
Misa
2021-04-05 13:10:41 -07:00
parent 2af04ad0fa
commit 5bb12a7fc1
3 changed files with 18 additions and 10 deletions

View File

@@ -1349,17 +1349,8 @@ void mapclass::loadlevel(int rx, int ry)
const short* tmap = otherlevel.loadlevel(rx, ry);
SDL_memcpy(contents, tmap, sizeof(contents));
roomname = otherlevel.roomname;
hiddenname = otherlevel.hiddenname;
tileset = otherlevel.roomtileset;
//do the appear/remove roomname here
if (game.roomx >= 102 && game.roomx <= 104 && game.roomy >= 110 && game.roomy <= 111)
{
hiddenname = "The Ship";
}
else
{
hiddenname = "Dimension VVVVVV";
}
break;
}
case 2: //The Lab