summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-02 08:16:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-02 08:16:53 +0000
commite68708d62551a95f47af75bb843bb7a8c32a549c (patch)
tree584a96a773f5e801c7db24ca0003b5f2c689c932 /src/map/script.c
parent4edd2cca4ff69edca3b222b80fb67a721808c441 (diff)
downloadhercules-e68708d62551a95f47af75bb843bb7a8c32a549c.tar.gz
hercules-e68708d62551a95f47af75bb843bb7a8c32a549c.tar.bz2
hercules-e68708d62551a95f47af75bb843bb7a8c32a549c.tar.xz
hercules-e68708d62551a95f47af75bb843bb7a8c32a549c.zip
Fixed npc reloading crash (bugreport:889)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12166 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 0b4435351..8e0125cf1 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8236,7 +8236,7 @@ BUILDIN_FUNC(sc_end)
bl = map_id2bl(potion_target);
}
- if( !bl ) return 0l;
+ if( !bl ) return 0;
if( type >= 0 && type < SC_MAX )
{