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 a270baa57..8e17495ff 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8118,7 +8118,7 @@ BUILDIN_FUNC(sc_end)
BUILDIN_FUNC(getscrate)
{
struct block_list *bl;
- int sc_def=0,type,rate;
+ int type,rate;
type=script_getnum(st,2);
rate=script_getnum(st,3);