diff options
author | Haru <haru@dotalux.com> | 2016-02-28 22:22:52 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-28 22:22:52 +0100 |
commit | 3305409b7208befa9f5d26620d30b3490365fc21 (patch) | |
tree | ad415f95a8ef0bc71a8a0e4aebd7828fad52a87a /src/map/script.c | |
parent | 21f992314cde9243474bb171d09ec3d971b07214 (diff) | |
parent | 905b59d85b790ea57198c47e249690094b296bda (diff) | |
download | hercules-3305409b7208befa9f5d26620d30b3490365fc21.tar.gz hercules-3305409b7208befa9f5d26620d30b3490365fc21.tar.bz2 hercules-3305409b7208befa9f5d26620d30b3490365fc21.tar.xz hercules-3305409b7208befa9f5d26620d30b3490365fc21.zip |
Merged pull request #1093 - NoKnockback mode
Closes #1093 as merged
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index f72176e50..7d5ce7d43 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10051,7 +10051,8 @@ BUILDIN(killmonsterall) { *------------------------------------------*/ BUILDIN(clone) { struct map_session_data *sd, *msd = NULL; - int char_id,master_id=0,x,y, mode = 0, flag = 0, m; + int char_id, master_id = 0, x, y, flag = 0, m; + uint32 mode = 0; unsigned int duration = 0; const char *mapname, *event; @@ -10064,8 +10065,8 @@ BUILDIN(clone) { if( script_hasdata(st,7) ) master_id=script_getnum(st,7); - if( script_hasdata(st,8) ) - mode=script_getnum(st,8); + if (script_hasdata(st,8)) + mode = script_getnum(st,8); if( script_hasdata(st,9) ) flag=script_getnum(st,9); |