diff options
| author | n0n4m3 <none@none> | 2009-12-24 10:20:15 +0100 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2009-12-24 10:20:15 +0100 |
| commit | 250a00cc1c91d2df2b6c4f72a2ad322b46fed783 (patch) | |
| tree | eab0216df4c91777747e866ed4525c9fbc7a037f /src/game/DuelHandler.cpp | |
| parent | acdc4ca15b69c84197f867192328829904646a66 (diff) | |
Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
Diffstat (limited to 'src/game/DuelHandler.cpp')
| -rw-r--r-- | src/game/DuelHandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/DuelHandler.cpp b/src/game/DuelHandler.cpp index 8da8787ab8b..d9854d900c8 100644 --- a/src/game/DuelHandler.cpp +++ b/src/game/DuelHandler.cpp @@ -25,7 +25,6 @@ #include "Opcodes.h" #include "UpdateData.h" #include "Player.h" -#include "TimeMgr.h" void WorldSession::HandleDuelAcceptedOpcode(WorldPacket& recvPacket) { @@ -48,7 +47,7 @@ void WorldSession::HandleDuelAcceptedOpcode(WorldPacket& recvPacket) DEBUG_LOG("Player 1 is: %u (%s)", pl->GetGUIDLow(),pl->GetName()); DEBUG_LOG("Player 2 is: %u (%s)", plTarget->GetGUIDLow(),plTarget->GetName()); - time_t now = sGameTime.GetGameTime(); + time_t now = time(NULL); pl->duel->startTimer = now; plTarget->duel->startTimer = now; |
