mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
[Commands] Cleanup #camerashake Command. (#1787)
- Cleanup message and logic. - Fix ConvertSecondsToTime logic for milliseconds. - Add ConvertMillisecondsToTime inline function.
This commit is contained in:
@@ -826,7 +826,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
||||
}
|
||||
ServerUptime_Struct* sus = (ServerUptime_Struct*)pack->pBuffer;
|
||||
uint32 ms = Timer::GetCurrentTime();
|
||||
std::string time_string = ConvertSecondsToTime(ms);
|
||||
std::string time_string = ConvertMillisecondsToTime(ms);
|
||||
SendEmoteMessage(
|
||||
sus->adminname,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user