summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-03 16:29:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-03 16:29:17 +0000
commit884ebdf25a8004abb6f5b001734d507c98b4a6b2 (patch)
tree890f052c5cd927d0c80f8333fe67ef4d7bf1c203 /src/map/unit.c
parent8c01ccc448ce7ba067ece0e0dbc524671754494a (diff)
downloadhercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.tar.gz
hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.tar.bz2
hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.tar.xz
hercules-884ebdf25a8004abb6f5b001734d507c98b4a6b2.zip
- Warmth will dispel when warping now (or else the effect is left on the ground)
- Fixed reading of the refine_db not working right when MAX_REFINE is increased from 10. - Some more cleaning to the implementation of Abracadabra git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7456 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 304160fe8..0b7bb663d 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1473,6 +1473,8 @@ int unit_remove_map(struct block_list *bl, int clrtype) {
status_change_end(bl,SC_RUN,-1);
if (sc->data[SC_DANCING].timer!=-1) // clear dance effect when warping [Valaris]
skill_stop_dancing(bl);
+ if (sc->data[SC_WARM].timer!=-1)
+ status_change_end(bl, SC_WARM, -1);
if (sc->data[SC_DEVOTION].timer!=-1)
status_change_end(bl,SC_DEVOTION,-1);
if (sc->data[SC_MARIONETTE].timer!=-1)