summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-14 22:19:51 +0300
committerGitHub <noreply@github.com>2016-07-14 22:19:51 +0300
commit79ea125f00a9655ee3aea7c784bd012888f39cf6 (patch)
tree1825fec0dabf8fdb06cc578e640825bae93048f1 /src/map/script.c
parentb89dd1428b2d357c8bbe016573fb0ab25ade2782 (diff)
parent6c0b298c869913105e4c4d29a6580bf68cd89f55 (diff)
downloadhercules-79ea125f00a9655ee3aea7c784bd012888f39cf6.tar.gz
hercules-79ea125f00a9655ee3aea7c784bd012888f39cf6.tar.bz2
hercules-79ea125f00a9655ee3aea7c784bd012888f39cf6.tar.xz
hercules-79ea125f00a9655ee3aea7c784bd012888f39cf6.zip
Merge pull request #1361 from HerculesWS/coverity-fixes
Fixed various issues reported by coverity
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
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;
}