summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.cpp4
-rw-r--r--src/char/char.hpp3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index 0bee093..a82a692 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -97,10 +97,6 @@ int anti_freeze_enable = 0;
static
std::chrono::seconds anti_freeze_interval = 6_s;
-constexpr
-std::chrono::milliseconds DEFAULT_AUTOSAVE_INTERVAL =
- 5_min;
-
static
Session *login_session, *char_session;
static
diff --git a/src/char/char.hpp b/src/char/char.hpp
index 47d94d8..bcbdeb3 100644
--- a/src/char/char.hpp
+++ b/src/char/char.hpp
@@ -32,6 +32,9 @@
namespace tmwa
{
constexpr int MAX_MAP_SERVERS = 30;
+constexpr
+std::chrono::seconds DEFAULT_AUTOSAVE_INTERVAL = 5_min;
+
struct mmo_map_server
{