summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-08 16:19:47 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-08 16:19:47 +0000
commitc136da7faffd03e2ab5442cf781bc1257dd4e5a7 (patch)
tree412407a9a080949c2e1217326619f9e0de5bfe1f /src/map/clif.c
parent33ae42f3569777e40c70e4569a74179506261ad0 (diff)
downloadhercules-c136da7faffd03e2ab5442cf781bc1257dd4e5a7.tar.gz
hercules-c136da7faffd03e2ab5442cf781bc1257dd4e5a7.tar.bz2
hercules-c136da7faffd03e2ab5442cf781bc1257dd4e5a7.tar.xz
hercules-c136da7faffd03e2ab5442cf781bc1257dd4e5a7.zip
Fixed Super Novice Prayer bugreport:5035
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15025 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 780b1af56..75c00187e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12137,7 +12137,7 @@ void clif_parse_NoviceExplosionSpirits(int fd, struct map_session_data *sd)
if( ( sd->class_&MAPID_UPPERMASK ) == MAPID_SUPER_NOVICE )
{
unsigned int next = pc_nextbaseexp(sd);
-
+ if( next == 0 ) next = pc_thisbaseexp(sd);
if( next )
{
int percent = (int)( ( (float)sd->status.base_exp/(float)next )*1000. );