summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
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 )
{