mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Decouple zone calls, cleanup logic
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "launcher_link.h"
|
||||
#include "launcher_list.h"
|
||||
#include "../common/string_util.h"
|
||||
#include "world_store.h"
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
@@ -156,7 +157,7 @@ void EQLConfig::StartZone(Const_char *zone_ref) {
|
||||
|
||||
bool EQLConfig::BootStaticZone(Const_char *short_name, uint16 port) {
|
||||
//make sure the short name is valid.
|
||||
if(content_db.GetZoneID(short_name) == 0)
|
||||
if(ZoneID(short_name) == 0)
|
||||
return false;
|
||||
|
||||
//database update
|
||||
@@ -191,7 +192,7 @@ bool EQLConfig::BootStaticZone(Const_char *short_name, uint16 port) {
|
||||
|
||||
bool EQLConfig::ChangeStaticZone(Const_char *short_name, uint16 port) {
|
||||
//make sure the short name is valid.
|
||||
if(content_db.GetZoneID(short_name) == 0)
|
||||
if(ZoneID(short_name) == 0)
|
||||
return false;
|
||||
|
||||
//check internal state
|
||||
|
||||
Reference in New Issue
Block a user