i.e. world update start
This commit is contained in:
parent
1b7522ff0e
commit
51b8773528
108 changed files with 933 additions and 509 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "ByteBuffer.h"
|
||||
#include "Opcodes.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "GameTime.h"
|
||||
#include "BigNumber.h"
|
||||
#include "SHA1.h"
|
||||
#include "WorldSession.h"
|
||||
|
|
@ -839,7 +840,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 = time(NULL) + llabs(mutetime);
|
||||
mutetime = GameTime::GetGameTime() + llabs(mutetime);
|
||||
|
||||
PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_MUTE_TIME_LOGIN);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue