diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-10 12:04:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-10 12:04:01 +0300 |
commit | 55454de66950e2e8f1edb8b9118fb95e2ea1bbce (patch) | |
tree | 85897ef68912cd65aa99cc535ccc82df09984cd3 /src/map/pc.c | |
parent | 1d34b1d90999a9dda263c8235e5036d7b6179fa5 (diff) | |
download | evol-hercules-55454de66950e2e8f1edb8b9118fb95e2ea1bbce.tar.gz evol-hercules-55454de66950e2e8f1edb8b9118fb95e2ea1bbce.tar.bz2 evol-hercules-55454de66950e2e8f1edb8b9118fb95e2ea1bbce.tar.xz evol-hercules-55454de66950e2e8f1edb8b9118fb95e2ea1bbce.zip |
Revert "map: overload job/class related functions."
This reverts commit 1d34b1d90999a9dda263c8235e5036d7b6179fa5.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index bead6b4..fba2441 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -165,45 +165,3 @@ int epc_takeitem(struct map_session_data *sd __attribute__ ((unused)), } return 1; } - -int epc_class2idx(int *classPtr) -{ - int class_ = *classPtr; - if (class_ >= 30) - class_ -= 30; - if (class_ < 0) - class_ = 0; - if (class_ >= CLASS_COUNT) - class_ = 0; - return class_; -} - -int epc_jobid2mapid(unsigned short *b_class) -{ - hookStop(); - return *b_class; -} - -int epc_mapid2jobid(unsigned short *class_, int *sex __attribute__ ((unused))) -{ - hookStop(); - return *class_; -} - -bool epc_db_checkid(unsigned int *class_) -{ - if (*class_ >= 30 && *class_ < 100) - { - hookStop(); - return true; - } - return false; -} - -int epc_calc_skilltree_normalize_job(struct map_session_data *sd) -{ - hookStop(); - if (!sd) - return 0; - return sd->class_; -} |