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 "Finalclass.h"
#include "MakeAndPlay.h"
std::vector<std::string> finalclass::loadlevel(int rx, int ry, Game& game, entityclass& obj)
{
int t;
@@ -15,6 +17,7 @@ std::vector<std::string> finalclass::loadlevel(int rx, int ry, Game& game, entit
switch(t)
{
#if !defined(MAKEANDPLAY)
case rn(50,52):
tmap.push_back("98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,220,0,0,0,0,0,0,0,218,98,98,98");
@@ -2311,6 +2314,7 @@ std::vector<std::string> finalclass::loadlevel(int rx, int ry, Game& game, entit
//game.test = true;
//game.teststring = "ERROR: Map not found in Final Area";
break;
#endif
}
return tmap;