diff options
author | Haru <haru@dotalux.com> | 2016-07-02 18:59:30 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-07-02 18:59:30 +0200 |
commit | 657d772c70e07afc2188c200247f73f03879884d (patch) | |
tree | 8cc574e9b772a975027839762f48d752c3334d21 /src/map/pc.c | |
parent | 0b7498bd5c252094fd429b46be847dcd24066a2e (diff) | |
download | hercules-657d772c70e07afc2188c200247f73f03879884d.tar.gz hercules-657d772c70e07afc2188c200247f73f03879884d.tar.bz2 hercules-657d772c70e07afc2188c200247f73f03879884d.tar.xz hercules-657d772c70e07afc2188c200247f73f03879884d.zip |
Trivialities: indentation fixes
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 22a820b13..2206dbb80 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4131,7 +4131,7 @@ bool pc_can_insert_card_into(struct map_session_data* sd, int idx_card, int idx_ ARR_FIND( 0, sd->inventory_data[idx_equip]->slot, i, sd->status.inventory[idx_equip].card[i] == 0); if (i == sd->inventory_data[idx_equip]->slot) return false; // no free slots - return true; + return true; } /** @@ -4151,7 +4151,7 @@ bool pc_can_insert_card(struct map_session_data* sd, int idx_card) return false; // target card missing if (sd->inventory_data[idx_card]->type != IT_CARD) return false; // must be a card - return true; + return true; } /*========================================== @@ -6751,7 +6751,7 @@ bool pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned in if (pc_has_permission(sd,PC_PERM_DISABLE_EXP)) return false; - if (src) + if (src) pc->calcexp(sd, &base_exp, &job_exp, src); if (sd->status.guild_id > 0) @@ -12110,6 +12110,6 @@ void pc_defaults(void) { pc->check_job_name = pc_check_job_name; pc->update_idle_time = pc_update_idle_time; - + pc->have_magnifier = pc_have_magnifier; } |