Re-Index Log Categories to avoid bugginies with index references

This commit is contained in:
Akkadius
2015-01-16 00:50:16 -06:00
parent 055f1523c7
commit cd7e9d40bf
3 changed files with 28 additions and 25 deletions
+4 -4
View File
@@ -4276,9 +4276,9 @@ void Database::LoadLogSysSettings(EQEmuLogSys::LogSettings* log_settings){
log_settings[log_category].log_to_console = atoi(row[2]);
log_settings[log_category].log_to_file = atoi(row[3]);
log_settings[log_category].log_to_gmsay = atoi(row[4]);
// std::cout << "Setting log settings for " << log_category << " " << LogCategoryName[log_category] << " " << std::endl;
// std::cout << "--- log_to_console = " << atoi(row[2]) << std::endl;
// std::cout << "--- log_to_file = " << atoi(row[3]) << std::endl;
// std::cout << "--- log_to_gmsay = " << atoi(row[4]) << std::endl;
std::cout << "Setting log settings for " << log_category << " " << LogCategoryName[log_category] << " " << std::endl;
std::cout << "--- log_to_console = " << atoi(row[2]) << std::endl;
std::cout << "--- log_to_file = " << atoi(row[3]) << std::endl;
std::cout << "--- log_to_gmsay = " << atoi(row[4]) << std::endl;
}
}
+1 -1
View File
@@ -50,7 +50,7 @@ public:
/* If you add to this, make sure you update LogCategoryName */
enum LogCategory {
Zone_Server = 0,
Zone_Server = 1,
World_Server,
UCS_Server,
QS_Server,