summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-09-28 16:38:04 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-09-28 16:40:06 +0530
commit7113dbbc642a444ccb32c6f53cde69e3b93df906 (patch)
tree84f4f9b41d29a6928513b50f3fe3663cb99f6e13 /src/map/script.c
parent92eba08ad0a0c15b371e846b8729a6b2fa20f3a0 (diff)
downloadhercules-7113dbbc642a444ccb32c6f53cde69e3b93df906.tar.gz
hercules-7113dbbc642a444ccb32c6f53cde69e3b93df906.tar.bz2
hercules-7113dbbc642a444ccb32c6f53cde69e3b93df906.tar.xz
hercules-7113dbbc642a444ccb32c6f53cde69e3b93df906.zip
Added Missing ScriptCommands in the doc.
Corrected sleep/sleep2 parameter list. Changed bg_join_team return values.
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 30f0bad85..face34d30 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -19169,7 +19169,7 @@ BUILDIN(bg_join_team) {
sd = script->rid2sd(st);
if( !sd )
- script_pushint(st, 1);
+ script_pushint(st, -1);
else
script_pushint(st,bg->team_join(team_id, sd)?0:1);