summaryrefslogtreecommitdiff
path: root/src/char/char.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-02-07 19:38:32 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-02-07 22:41:23 -0800
commit83b2e0b3ceda907b7186acfcc56c214fc04d9c13 (patch)
treef4dcc8d8b59fd9a633bc2604cc92f0523cc76ee4 /src/char/char.hpp
parentc67c2b7435a13d7ce17b2075e22dc5c6036f702a (diff)
downloadtmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.gz
tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.bz2
tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.xz
tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.zip
Remove some macros
Diffstat (limited to 'src/char/char.hpp')
-rw-r--r--src/char/char.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.hpp b/src/char/char.hpp
index 3c0c865..4ba0b6b 100644
--- a/src/char/char.hpp
+++ b/src/char/char.hpp
@@ -4,13 +4,13 @@
#include "../common/const_array.hpp"
#include "../common/mmo.hpp"
-#define MAX_MAP_SERVERS 30
+constexpr int MAX_MAP_SERVERS = 30;
#define CHAR_CONF_NAME "conf/char_athena.conf"
#define LOGIN_LAN_CONF_NAME "conf/lan_support.conf"
-#define DEFAULT_AUTOSAVE_INTERVAL 300*1000
+constexpr int DEFAULT_AUTOSAVE_INTERVAL = 300 * 1000;
struct mmo_map_server
{