summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-03-01 11:45:15 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-03-01 13:56:33 -0800
commit30335063bff54c2b4782689eebdb3b2717e878fa (patch)
tree8cf4af06a0915e8741b51bbdcb19491d954b5c7f /src/common
parent777c013fe163348d1489fb9ca2e41cb135eec0d1 (diff)
downloadtmwa-30335063bff54c2b4782689eebdb3b2717e878fa.tar.gz
tmwa-30335063bff54c2b4782689eebdb3b2717e878fa.tar.bz2
tmwa-30335063bff54c2b4782689eebdb3b2717e878fa.tar.xz
tmwa-30335063bff54c2b4782689eebdb3b2717e878fa.zip
Convince skills to work
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/mmo.hpp b/src/common/mmo.hpp
index f35064b..34f3047 100644
--- a/src/common/mmo.hpp
+++ b/src/common/mmo.hpp
@@ -88,9 +88,8 @@ enum class SkillFlags : uint16_t;
}
using e::SkillFlags;
-struct skill
+struct skill_value
{
- SkillID id;
unsigned short lv;
SkillFlags flags;
};
@@ -161,7 +160,7 @@ struct mmo_charstatus
struct point last_point, save_point, memo_point[10];
struct item inventory[MAX_INVENTORY], cart[MAX_CART];
- earray<struct skill, SkillID, MAX_SKILL> skill;
+ earray<skill_value, SkillID, MAX_SKILL> skill;
int global_reg_num;
struct global_reg global_reg[GLOBAL_REG_NUM];
int account_reg_num;