diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-09-28 16:38:04 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-09-28 16:40:06 +0530 |
commit | 7113dbbc642a444ccb32c6f53cde69e3b93df906 (patch) | |
tree | 84f4f9b41d29a6928513b50f3fe3663cb99f6e13 /src/map | |
parent | 92eba08ad0a0c15b371e846b8729a6b2fa20f3a0 (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/script.c | 2 |
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); |