diff options
author | Haru <haru@dotalux.com> | 2016-02-28 22:18:29 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-28 22:22:31 +0100 |
commit | 905b59d85b790ea57198c47e249690094b296bda (patch) | |
tree | ad415f95a8ef0bc71a8a0e4aebd7828fad52a87a /src/map/script.c | |
parent | 38df89621f9e5b4196a91f8361b4493247f41bd3 (diff) | |
download | hercules-905b59d85b790ea57198c47e249690094b296bda.tar.gz hercules-905b59d85b790ea57198c47e249690094b296bda.tar.bz2 hercules-905b59d85b790ea57198c47e249690094b296bda.tar.xz hercules-905b59d85b790ea57198c47e249690094b296bda.zip |
Changed mob mode field to 32 bit, for future expansion
Signed-off-by: Haru <haru@dotalux.com>
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); |