summaryrefslogtreecommitdiff
path: root/src/map/skill.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-09-02 15:11:06 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-09-30 13:49:26 -0700
commit77563ec532c8b51134c3020fb3c70a8bed8457fb (patch)
tree51e285a203956681a04b08257fa06f8b113a5981 /src/map/skill.cpp
parent0d3df507b4c4fe1dde086cd85a78179c8bcefcf9 (diff)
downloadtmwa-77563ec532c8b51134c3020fb3c70a8bed8457fb.tar.gz
tmwa-77563ec532c8b51134c3020fb3c70a8bed8457fb.tar.bz2
tmwa-77563ec532c8b51134c3020fb3c70a8bed8457fb.tar.xz
tmwa-77563ec532c8b51134c3020fb3c70a8bed8457fb.zip
Rename enum Option to Opt0
Diffstat (limited to 'src/map/skill.cpp')
-rw-r--r--src/map/skill.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/skill.cpp b/src/map/skill.cpp
index add6a42..d1c8685 100644
--- a/src/map/skill.cpp
+++ b/src/map/skill.cpp
@@ -713,7 +713,7 @@ void skill_status_change_end(dumb_ptr<block_list> bl, StatusChange type, TimerDa
eptr<struct status_change, StatusChange, StatusChange::MAX_STATUSCHANGE> sc_data;
int opt_flag = 0, calc_flag = 0;
short *sc_count;
- Option *option;
+ Opt0 *option;
Opt1 *opt1;
Opt2 *opt2;
Opt3 *opt3;
@@ -937,7 +937,7 @@ int skill_status_effect(dumb_ptr<block_list> bl, StatusChange type,
dumb_ptr<map_session_data> sd = nullptr;
eptr<struct status_change, StatusChange, StatusChange::MAX_STATUSCHANGE> sc_data;
short *sc_count;
- Option *option;
+ Opt0 *option;
Opt1 *opt1;
Opt2 *opt2;
Opt3 *opt3;
@@ -1111,7 +1111,7 @@ int skill_status_change_clear(dumb_ptr<block_list> bl, int type)
{
eptr<struct status_change, StatusChange, StatusChange::MAX_STATUSCHANGE> sc_data;
short *sc_count;
- Option *option;
+ Opt0 *option;
Opt1 *opt1;
Opt2 *opt2;
Opt3 *opt3;
@@ -1142,7 +1142,7 @@ int skill_status_change_clear(dumb_ptr<block_list> bl, int type)
*opt1 = Opt1::ZERO;
*opt2 = Opt2::ZERO;
*opt3 = Opt3::ZERO;
- *option = Option::ZERO;
+ *option = Opt0::ZERO;
if (type == 0 || type & 2)
clif_changeoption(bl);