summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2014-08-31 00:14:21 +0800
committerAnnieRuru <jeankof@ymail.com>2014-08-31 00:14:21 +0800
commitaa1461430c3d7c31bd03eca02c7b91a274351c19 (patch)
tree10ae7909ae77a0464381fe276e8db856012d1a5e /src/map/script.c
parent7bef91594c70ae2591ee1823d48f764fac676717 (diff)
downloadhercules-aa1461430c3d7c31bd03eca02c7b91a274351c19.tar.gz
hercules-aa1461430c3d7c31bd03eca02c7b91a274351c19.tar.bz2
hercules-aa1461430c3d7c31bd03eca02c7b91a274351c19.tar.xz
hercules-aa1461430c3d7c31bd03eca02c7b91a274351c19.zip
follow up
https://github.com/HerculesWS/Hercules/commit/a06e53479131c25ce2343c431c688c57b3bfa2c0 to mimic the *sc_start documentation to rathena and fixed return 0; into return true; thx to Litro for bringing up http://hercules.ws/board/topic/6997-debug-whats-wrong/
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 2f0aa5831..26072cf66 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10095,7 +10095,7 @@ BUILDIN(sc_start)
}
if(!bl)
- return 0;
+ return true;
switch(start_type) {
case 1:
@@ -10112,7 +10112,7 @@ BUILDIN(sc_start)
status->change_start(bl, bl, type, rate, val1, val2, val3, val4, tick, flag);
break;
}
- return 0;
+ return true;
}
/// Ends one or all status effects on the target unit or on the attached player.