Revert "feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)" (#1471)
This reverts commit 51b8773528.
This commit is contained in:
parent
23e7ae6a2f
commit
c15206fc15
108 changed files with 509 additions and 933 deletions
|
|
@ -25,7 +25,6 @@
|
|||
#include "ByteBuffer.h"
|
||||
#include "Opcodes.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "GameTime.h"
|
||||
#include "BigNumber.h"
|
||||
#include "SHA1.h"
|
||||
#include "WorldSession.h"
|
||||
|
|
@ -840,7 +839,7 @@ int WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
|
|||
//! Negative mutetime indicates amount of seconds to be muted effective on next login - which is now.
|
||||
if (mutetime < 0)
|
||||
{
|
||||
mutetime = GameTime::GetGameTime() + llabs(mutetime);
|
||||
mutetime = time(NULL) + llabs(mutetime);
|
||||
|
||||
PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_MUTE_TIME_LOGIN);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue