summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-12 03:59:24 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-12 03:59:24 +0000
commit4d8a1ca7adcd8a837e5b78e7b1740c94a082ad78 (patch)
tree37f6793621e32b38c845d3fccf8b0652e4aa2556 /src/map/pc.c
parent8f5a2dddd09352b8618fbec8c4f4d9934601bec2 (diff)
downloadhercules-4d8a1ca7adcd8a837e5b78e7b1740c94a082ad78.tar.gz
hercules-4d8a1ca7adcd8a837e5b78e7b1740c94a082ad78.tar.bz2
hercules-4d8a1ca7adcd8a837e5b78e7b1740c94a082ad78.tar.xz
hercules-4d8a1ca7adcd8a837e5b78e7b1740c94a082ad78.zip
Fixed bugreport:5994 misuse of inline against msvc standards (and inline was pointless there too. thought it'd be used elsewhere, not the case).
Blame on r16273 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16274 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index b7f4a965e..26f60c0af 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6098,16 +6098,6 @@ int pc_skillatk_bonus(struct map_session_data *sd, int skill_num)
return bonus;
}
-inline int pc_sp_rate_skill(struct map_session_data *sd, int skill_num) {
- int i, bonus = 100;
-
- ARR_FIND(0, ARRAYLENGTH(sd->sprateskill), i, sd->sprateskill[i].id == skill_num);
- if( i < ARRAYLENGTH(sd->sprateskill) )
- bonus += sd->sprateskill[i].val;
-
- return bonus;
-}
-
int pc_skillheal_bonus(struct map_session_data *sd, int skill_num) {
int i, bonus = sd->bonus.add_heal_rate;