summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorMumbles <mumbles@qt-ro.com>2013-11-17 14:14:51 -0800
committerMumbles <mumbles@qt-ro.com>2013-11-18 08:48:12 -0800
commit0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8 (patch)
tree3c83961c522812d2a15150b181332065a58b3f2e /src/map/status.c
parent0839d5126e62ba9ad0ddf4fe8b548483fbb1c746 (diff)
downloadhercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.tar.gz
hercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.tar.bz2
hercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.tar.xz
hercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.zip
Corrected size-related constant names and cleaned up comments (closes #222).
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ef211e97e..a8389691f 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2096,7 +2096,7 @@ int status_calc_mob_(struct mob_data* md, enum e_status_calc_opt opt) {
if (flag&2 && battle_config.mob_size_influence) {
// change for sized monsters [Valaris]
- if (md->special_state.size==SZ_MEDIUM) {
+ if (md->special_state.size==SZ_SMALL) {
mstatus->max_hp>>=1;
mstatus->max_sp>>=1;
if (!mstatus->max_hp) mstatus->max_hp = 1;
@@ -2402,13 +2402,13 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) {
//Give them all modes except these (useful for clones)
bstatus->mode = MD_MASK&~(MD_BOSS|MD_PLANT|MD_DETECTOR|MD_ANGRY|MD_TARGETWEAK);
- bstatus->size = (sd->class_&JOBL_BABY)?SZ_SMALL:SZ_MEDIUM;
+ bstatus->size = (sd->class_&JOBL_BABY)?SZ_MEDIUM:SZ_SMALL;
if (battle_config.character_size && (pc_isriding(sd) || pc_isridingdragon(sd)) ) { //[Lupus]
if (sd->class_&JOBL_BABY) {
if (battle_config.character_size&SZ_BIG)
bstatus->size++;
} else
- if(battle_config.character_size&SZ_MEDIUM)
+ if(battle_config.character_size&SZ_SMALL)
bstatus->size++;
}
bstatus->aspd_rate = 1000;