Boss region map check.
This commit is contained in:
parent
5c83a41a86
commit
b1cdc78a87
@ -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…
x
Reference in New Issue
Block a user