aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 129894847f2..b4a4de064cf 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -20,6 +20,7 @@
#include "ZoneScript.h"
#include "Common.h"
+#include "Duration.h"
#include <iosfwd>
#include <map>
#include <memory>
@@ -213,7 +214,7 @@ class TC_GAME_API InstanceScript : public ZoneScript
void DoCloseDoorOrButton(ObjectGuid guid);
// Respawns a GO having negative spawntimesecs in gameobject-table
- void DoRespawnGameObject(ObjectGuid guid, uint32 timeToDespawn = MINUTE);
+ void DoRespawnGameObject(ObjectGuid guid, Seconds timeToDespawn = 1min);
// Sends world state update to all players in instance
void DoUpdateWorldState(uint32 worldstateId, uint32 worldstateValue);