summaryrefslogtreecommitdiff
path: root/src/char/char.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-08 19:43:28 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-09 19:29:31 -0700
commita5861a4c81bb616b7fba2028cf9ee31f890357c5 (patch)
tree0a7aedad97d70b6194eb57a7de39857d015685a3 /src/char/char.hpp
parent367e76ba89bde0e3fb6c4ae0e64cd3927e0db2f2 (diff)
downloadtmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.tar.gz
tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.tar.bz2
tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.tar.xz
tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.zip
Use IP4 classes and rename conf variables
Diffstat (limited to 'src/char/char.hpp')
-rw-r--r--src/char/char.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.hpp b/src/char/char.hpp
index 8e37c64..abd5381 100644
--- a/src/char/char.hpp
+++ b/src/char/char.hpp
@@ -2,6 +2,7 @@
#define CHAR_HPP
#include "../common/const_array.hpp"
+#include "../common/ip.hpp"
#include "../common/mmo.hpp"
constexpr int MAX_MAP_SERVERS = 30;
@@ -12,7 +13,7 @@ constexpr int MAX_MAP_SERVERS = 30;
struct mmo_map_server
{
- long ip;
+ IP4Address ip;
short port;
int users;
MapName maps[MAX_MAP_PER_SERVER];