summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-12 06:54:44 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-12 06:54:44 +0000
commit7203756c266a967390e417981592acc3c5879ea6 (patch)
treeb9e1f93d908b7054cbfd02802dcf4f306c4617bd /src
parent00b9732977d9bdc0708d21b0cfd4a5c1794176fc (diff)
downloadhercules-7203756c266a967390e417981592acc3c5879ea6.tar.gz
hercules-7203756c266a967390e417981592acc3c5879ea6.tar.bz2
hercules-7203756c266a967390e417981592acc3c5879ea6.tar.xz
hercules-7203756c266a967390e417981592acc3c5879ea6.zip
Disambiguation
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9645 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 6e0d3fb88..5031fc5fa 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3278,10 +3278,10 @@ int mob_parse_dbrow(char** str)
//Now that we know if it is an mvp or not, apply battle_config modifiers [Skotlex]
maxhp = (double)status->max_hp;
- if (db->mexp > 0) //Mvp
+ if (db->mexp > 0) { //Mvp
if (battle_config.mvp_hp_rate != 100)
maxhp = maxhp * (double)battle_config.mvp_hp_rate / 100.;
- else //Normal mob
+ } else //Normal mob
if (battle_config.monster_hp_rate != 100)
maxhp = maxhp * (double)battle_config.monster_hp_rate / 100.;