Boss region map check.

pull/35/head
sigonasr2 10 months ago
parent 5c83a41a86
commit b1cdc78a87
  1. 4
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 2
      Adventures in Lestoria/Version.h

@ -2355,6 +2355,10 @@ void AiL::InitializeLevels(){
}
if(MAP_DATA.find(cp.map)!=MAP_DATA.end()){
MAP_DATA[cp.map].name=cp.name;
//Boss arena map zone check.
if(MAP_DATA[cp.map].GetMapType()=="Boss"&&MAP_DATA[cp.map].GetZones().at("BossArena").size()==0)ERR(std::format("WARNING! Map {} doesn't have a boss arena region defined! Add an object of class BossArena to the map.",MAP_DATA[cp.map].GetMapDisplayName()));
for(std::string spawn:MAP_DATA[cp.map].spawns){
cp.spawns.push_back(spawn);
}

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 3
#define VERSION_PATCH 0
#define VERSION_BUILD 6503
#define VERSION_BUILD 6507
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Loading…
Cancel
Save