mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Converted SyncWorldtime std::cout
This commit is contained in:
parent
829dd8ddaf
commit
cdc249dde3
@ -109,8 +109,6 @@ std::string EQEmuLogSys::FormatDebugCategoryMessageString(uint16 log_category, s
|
||||
return StringFormat("%s%s", category_string.c_str(), in_message.c_str());
|
||||
}
|
||||
|
||||
|
||||
|
||||
void EQEmuLogSys::ProcessGMSay(uint16 log_type, uint16 log_category, std::string message)
|
||||
{
|
||||
/* Check if category enabled for process */
|
||||
|
||||
@ -748,7 +748,7 @@ void WorldServer::Process() {
|
||||
}
|
||||
case ServerOP_SyncWorldTime: {
|
||||
if(zone!=0) {
|
||||
std::cout << "Received Message SyncWorldTime" << std::endl;
|
||||
logger.LogDebugType(EQEmuLogSys::Moderate, EQEmuLogSys::Zone_Server, __FUNCTION__ "Received Message SyncWorldTime");
|
||||
eqTimeOfDay* newtime = (eqTimeOfDay*) pack->pBuffer;
|
||||
zone->zone_time.setEQTimeOfDay(newtime->start_eqtime, newtime->start_realtime);
|
||||
EQApplicationPacket* outapp = new EQApplicationPacket(OP_TimeOfDay, sizeof(TimeOfDay_Struct));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user