chore(misc): Mordenize maths (#17273)
This commit is contained in:
parent
52744e6032
commit
1621da00da
2 changed files with 1 additions and 8 deletions
|
|
@ -41,13 +41,6 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if AC_COMPILER == AC_COMPILER_MICROSOFT
|
||||
#define atoll _atoi64
|
||||
#define llabs _abs64
|
||||
#else
|
||||
#define stricmp strcasecmp
|
||||
#endif
|
||||
|
||||
#define STRINGIZE(a) #a
|
||||
|
||||
#define MAX_NETCLIENT_PACKET_SIZE (32767 - 1) // Client hardcap: int16 with trailing zero space otherwise crash on memory free
|
||||
|
|
|
|||
|
|
@ -564,7 +564,7 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr<AuthSession> authSes
|
|||
//! Negative mutetime indicates amount of minutes to be muted effective on next login - which is now.
|
||||
if (account.MuteTime < 0)
|
||||
{
|
||||
account.MuteTime = GameTime::GetGameTime().count() + llabs(account.MuteTime);
|
||||
account.MuteTime = GameTime::GetGameTime().count() + std::llabs(account.MuteTime);
|
||||
|
||||
auto* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_MUTE_TIME_LOGIN);
|
||||
stmt->SetData(0, account.MuteTime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue