Remove from M&P the room data of Final Level/Lab/Overworld/Tower

This is to make sure that the room data of those areas are not
distributed with the M&P binary, even if they are already inaccessible
because of other M&P ifdefs (I tested).
This commit is contained in:
Info Teddy
2020-01-26 08:37:12 -08:00
committed by Ethan Lee
parent 3697487f47
commit 7f3d16801c
4 changed files with 20 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#include "Labclass.h"
#include "MakeAndPlay.h"
std::vector<std::string> labclass::loadlevel(int rx, int ry , Game& game, entityclass& obj)
{
int t;
@@ -26,6 +28,7 @@ std::vector<std::string> labclass::loadlevel(int rx, int ry , Game& game, entity
switch(t)
{
#if !defined(MAKEANDPLAY)
case rn(50,50):
tmap.push_back("283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283,283");
@@ -1856,6 +1859,7 @@ std::vector<std::string> labclass::loadlevel(int rx, int ry , Game& game, entity
game.test = true;
game.teststring = "ERROR: Map not found in Lab Area";
break;
#endif
}
return tmap;