diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-08 15:39:16 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-08 15:39:16 -0800 |
commit | 3e42921c657bc93094f0c7d96855aae9b0be5a7e (patch) | |
tree | fe74fd1c1f8b370084091f1e26aef94ad427e7b0 /src/map/pc.cpp | |
parent | 8b0d596d0bfce7666e59952a6949572ab826b43c (diff) | |
download | tmwa-3e42921c657bc93094f0c7d96855aae9b0be5a7e.tar.gz tmwa-3e42921c657bc93094f0c7d96855aae9b0be5a7e.tar.bz2 tmwa-3e42921c657bc93094f0c7d96855aae9b0be5a7e.tar.xz tmwa-3e42921c657bc93094f0c7d96855aae9b0be5a7e.zip |
Improve warnings; fix const_db.txt bug.
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r-- | src/map/pc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index c25f512..5780525 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -102,8 +102,8 @@ static int diry[8] = { 1, 1, 0, -1, -1, -1, 0, 1 }; static -earray<EPOS, EQUIP, EQUIP::COUNT> equip_pos = -{ +earray<EPOS, EQUIP, EQUIP::COUNT> equip_pos //= +{{ EPOS::MISC2, EPOS::CAPE, EPOS::SHOES, @@ -115,7 +115,7 @@ earray<EPOS, EQUIP, EQUIP::COUNT> equip_pos = EPOS::SHIELD, EPOS::WEAPON, EPOS::ARROW, -}; +}}; //static struct dbt *gm_account_db; static @@ -4870,12 +4870,12 @@ int pc_gainexp_reason(struct map_session_data *sd, int base_exp, int job_exp, if ((battle_config.pvp_exp == 0) && map[sd->bl.m].flag.pvp) // [MouseJstr] return 0; // no exp on pvp maps - earray<const char *, PC_GAINEXP_REASON, PC_GAINEXP_REASON::COUNT> reasons = - { + earray<const char *, PC_GAINEXP_REASON, PC_GAINEXP_REASON::COUNT> reasons //= + {{ "KILLXP", "HEALXP", "SCRIPTXP", - }; + }}; MAP_LOG_PC(sd, "GAINXP %d %d %s", base_exp, job_exp, reasons[reason]); if (sd->sc_data[SC_RICHMANKIM].timer != -1) |