|
@@ -2815,7 +2815,7 @@ void WorldDatabase::LoadZoneInfo(ZoneServer* zone){
|
|
Query query;
|
|
Query query;
|
|
int32 ruleset_id;
|
|
int32 ruleset_id;
|
|
char* escaped = getEscapeString(zone->GetZoneName());
|
|
char* escaped = getEscapeString(zone->GetZoneName());
|
|
- MYSQL_RES* result = query.RunQuery2(Q_SELECT, "SELECT id, file, description, underworld, safe_x, safe_y, safe_z, min_status, min_level, max_level, instance_type+0, shutdown_timer, zone_motd, default_reenter_time, default_reset_time, default_lockout_time, force_group_to_zone, safe_heading, xp_modifier, ruleset_id, expansion_id, weather_allowed, sky_file, can_bind, can_gate, city_zone FROM zones where name='%s'",escaped);
|
|
|
|
|
|
+ MYSQL_RES* result = query.RunQuery2(Q_SELECT, "SELECT id, file, description, underworld, safe_x, safe_y, safe_z, min_status, min_level, max_level, instance_type+0, shutdown_timer, zone_motd, default_reenter_time, default_reset_time, default_lockout_time, force_group_to_zone, safe_heading, xp_modifier, ruleset_id, expansion_id, weather_allowed, sky_file, can_bind, can_gate, city_zone, can_evac FROM zones where name='%s'",escaped);
|
|
if(result && mysql_num_rows(result) > 0) {
|
|
if(result && mysql_num_rows(result) > 0) {
|
|
MYSQL_ROW row;
|
|
MYSQL_ROW row;
|
|
row = mysql_fetch_row(result);
|
|
row = mysql_fetch_row(result);
|
|
@@ -2864,6 +2864,7 @@ void WorldDatabase::LoadZoneInfo(ZoneServer* zone){
|
|
zone->SetCanBind(atoul(row[23]));
|
|
zone->SetCanBind(atoul(row[23]));
|
|
zone->SetCanGate(atoul(row[24]));
|
|
zone->SetCanGate(atoul(row[24]));
|
|
zone->SetCityZone(atoi(row[25]));
|
|
zone->SetCityZone(atoi(row[25]));
|
|
|
|
+ zone->SetCanEvac(atoul(row[26]));
|
|
}
|
|
}
|
|
safe_delete_array(escaped);
|
|
safe_delete_array(escaped);
|
|
}
|
|
}
|