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:
Nefertumm
2019-02-15 15:14:49 -03:00
committed by GitHub
parent 23e7ae6a2f
commit c15206fc15
108 changed files with 509 additions and 933 deletions

View File

@@ -11,7 +11,6 @@
#include "BattlefieldMgr.h"
#include "SpellAuras.h"
#include "Player.h"
#include "GameTime.h"
/* Vault of Archavon encounters:
1 - Archavon the Stone Watcher event
@@ -180,13 +179,13 @@ class instance_vault_of_archavon : public InstanceMapScript
switch (type)
{
case EVENT_ARCHAVON:
ArchavonDeath = GameTime::GetGameTime();
ArchavonDeath = time(NULL);
break;
case EVENT_EMALON:
EmalonDeath = GameTime::GetGameTime();
EmalonDeath = time(NULL);
break;
case EVENT_KORALON:
KoralonDeath = GameTime::GetGameTime();
KoralonDeath = time(NULL);
break;
default:
return;