From 321a3f4637240f6a023ae3533160e5aa6be0a804 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 13 May 2013 17:22:02 -0700 Subject: pc_gainexp was now unused --- src/map/pc.cpp | 10 ---------- src/map/pc.hpp | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/map/pc.cpp b/src/map/pc.cpp index bcac46f..a098978 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -3107,16 +3107,6 @@ int pc_checkjoblevelup(struct map_session_data *sd) return 0; } -/*========================================== - * 経験値取得 - *------------------------------------------ - */ -int pc_gainexp(struct map_session_data *sd, int base_exp, int job_exp) -{ - return pc_gainexp_reason(sd, base_exp, job_exp, - PC_GAINEXP_REASON::UNKNOWN); -} - int pc_gainexp_reason(struct map_session_data *sd, int base_exp, int job_exp, PC_GAINEXP_REASON reason) { diff --git a/src/map/pc.hpp b/src/map/pc.hpp index 201a58e..baf1487 100644 --- a/src/map/pc.hpp +++ b/src/map/pc.hpp @@ -96,8 +96,6 @@ int pc_skill(struct map_session_data *, SkillID, int, int); int pc_attack(struct map_session_data *, int, int); int pc_stopattack(struct map_session_data *); -int pc_gainexp(struct map_session_data *, int, int); - int pc_gainexp_reason(struct map_session_data *, int, int, PC_GAINEXP_REASON reason); int pc_extract_healer_exp(struct map_session_data *, int max); // [Fate] Used by healers: extract healer-xp from the target, return result (up to max) -- cgit v1.2.3-60-g2f50