mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 21:17:16 +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:
1 parent
7154d5b841
commit
40edefa6f4
7 files changed
+50
-21
No files matched your search
@@ -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