mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove game.test and game.teststring
It looks like this may have been used earlier in development, judging from the name, obviously, but right now it seems like it's used as an error message if a main game level is asked for an invalid room (well, only two of them - the Lab and Warp Zone). It should probably be formalized into an error system, if we want to keep teststring, and also people would never see it anyway because I don't think there's a reliable and consistent way to trigger loading a non-existent room. I have seen someone manage to load a non-existent Warp Zone room only one time, but even then this teststring didn't pop up. So this teststring doesn't even trigger in the right circumstances. Also, when it does pop up, as far as I can tell it will stay onscreen, which is kinda annoying. So I'm just removing this ancient relic from the code.
This commit is contained in:
@@ -1022,9 +1022,6 @@ std::vector<std::string> warpclass::loadlevel(int rx, int ry)
|
||||
tmap.push_back("0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0");
|
||||
tmap.push_back("0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0");
|
||||
//roomname = "Outer Space";
|
||||
|
||||
game.test = true;
|
||||
game.teststring = "ERROR: Map not found in Warp Area";
|
||||
break;
|
||||
#else
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user