From c90ced473d7d26f51c130342e6429c774a890a8b Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Sat, 29 Aug 2009 12:37:33 +0400 Subject: [PATCH] Compile/merge fix. --- src/game/WorldSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index 0fbcf4d6d..f5c370331 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -649,10 +649,10 @@ void WorldSession::SendAccountDataTimes(uint32 mask) WorldPacket data( SMSG_ACCOUNT_DATA_TIMES, 4+1+4+8*4 ); // changed in WotLK data << uint32(time(NULL)); // unix time of something data << uint8(1); - data << uint32(mask); + data << uint32(mask); // type mask for(int i = 0; i < NUM_ACCOUNT_DATA_TYPES; ++i) if(mask & (1 << i)) - data << uint32(GetAccountData(i)->Time); // also unix time + data << uint32(GetAccountData(AccountDataType(i))->Time);// also unix time SendPacket(&data); }