diff options
author | Haru <haru@dotalux.com> | 2016-07-14 03:45:31 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-07-14 03:45:31 +0200 |
commit | d85daf0f76485c8a3f065d79fb23dc3566aa81cd (patch) | |
tree | bfd6ebfd9d3a668e368266e1f94d0b4d619ea407 /src/map/script.c | |
parent | f4aee10c1ae44e220e9e84ae47180758a4a77f4d (diff) | |
download | hercules-d85daf0f76485c8a3f065d79fb23dc3566aa81cd.tar.gz hercules-d85daf0f76485c8a3f065d79fb23dc3566aa81cd.tar.bz2 hercules-d85daf0f76485c8a3f065d79fb23dc3566aa81cd.tar.xz hercules-d85daf0f76485c8a3f065d79fb23dc3566aa81cd.zip |
Changed chat_data::minLvl and chat_data::maxLvl to int and renamed to min_level and max_level
Fixes several -Wsign-compare issues
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index effe40ea5..353d57a67 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11928,8 +11928,8 @@ BUILDIN(getwaitingroomstate) case 32: script_pushint(st, (cd->users >= cd->limit)); break; case 33: script_pushint(st, (cd->users >= cd->trigger)); break; - case 34: script_pushint(st, cd->minLvl); break; - case 35: script_pushint(st, cd->maxLvl); break; + case 34: script_pushint(st, cd->min_level); break; + case 35: script_pushint(st, cd->max_level); break; case 36: script_pushint(st, cd->zeny); break; default: script_pushint(st, -1); break; } |