summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2013-11-18 17:33:48 -0800
committershennetsind <shennetsind@users.noreply.github.com>2013-11-18 17:33:48 -0800
commit51cbaf27c96e874850588ddcfa13b656db45bb2e (patch)
tree8e8eac3791a925ebb7a3136bfd2833e279ef5a85 /src/map/status.c
parent116e8b8a8727895010b85dfc332f3c5f95bb498f (diff)
parent0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8 (diff)
downloadhercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.tar.gz
hercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.tar.bz2
hercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.tar.xz
hercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.zip
Merge pull request #224 from datmumbles/size_changes
Corrected size-related constant names (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;