summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-19 10:06:05 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-19 10:06:05 +0000
commitcdd0a876e5a310ced0c716cd66614a960375cb3b (patch)
tree44d406128350fb6d79e618916d78e5bd2413eb82 /src/map/pc.c
parent40a8bcc998538b3a09a50b76c59806a9962d9686 (diff)
downloadhercules-cdd0a876e5a310ced0c716cd66614a960375cb3b.tar.gz
hercules-cdd0a876e5a310ced0c716cd66614a960375cb3b.tar.bz2
hercules-cdd0a876e5a310ced0c716cd66614a960375cb3b.tar.xz
hercules-cdd0a876e5a310ced0c716cd66614a960375cb3b.zip
* Miracle should only be dispelled on map change.
* The "party invite" and "view equip" state messages are ought to be sent on every map change instead of login. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13793 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 35eb6cd4b..890cbd0bd 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3838,6 +3838,8 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
status_change_end(&sd->bl,SC_MOON_COMFORT,-1);
if (sd->sc.data[SC_STAR_COMFORT])
status_change_end(&sd->bl,SC_STAR_COMFORT,-1);
+ if (sd->sc.data[SC_MIRACLE])
+ status_change_end(&sd->bl,SC_MIRACLE,-1);
if (sd->sc.data[SC_KNOWLEDGE]) {
struct status_change_entry *sce = sd->sc.data[SC_KNOWLEDGE];
if (sce->timer != -1)