summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-14 09:45:56 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-14 09:45:56 +0000
commite1c7f1b188ed441801a0ad9932c08fc7e17517ca (patch)
tree9fb3f791513861b7ad66898e9ccaa8c8ddd65f71 /src/map/clif.c
parent46e3a8ecf6c3582876e195a62add9a5ccf3dd62c (diff)
downloadhercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.tar.gz
hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.tar.bz2
hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.tar.xz
hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.zip
Follow up r16632, added check on level up so that the equip is automatically unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 6b18dc917..d97959b49 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2080,8 +2080,8 @@ void clif_viewpoint(struct map_session_data *sd, int npc_id, int type, int x, in
/// 4 = middle of screen, movable with a close button, chrome-less
void clif_cutin(struct map_session_data* sd, const char* image, int type)
{
- int fd;
-
+ int fd;
+
nullpo_retv(sd);
fd=sd->fd;