From 83b2e0b3ceda907b7186acfcc56c214fc04d9c13 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 7 Feb 2013 19:38:32 -0800 Subject: Remove some macros --- src/char/char.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/char/char.hpp') 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 { -- cgit v1.2.3-60-g2f50