diff options
author | Lemongrass3110 <lemongrass@kstp.at> | 2016-10-28 15:11:08 +0200 |
---|---|---|
committer | Lemongrass3110 <lemongrass@kstp.at> | 2016-10-28 15:11:08 +0200 |
commit | 518c179951dea8383eef43a31b02937210c9271d (patch) | |
tree | a48d2cac3891863afdeb65c7119777f4667be455 /src/common | |
parent | 5fdf937cbe04c75708ab27b4a15d0a63ffcedf02 (diff) | |
download | hercules-518c179951dea8383eef43a31b02937210c9271d.tar.gz hercules-518c179951dea8383eef43a31b02937210c9271d.tar.bz2 hercules-518c179951dea8383eef43a31b02937210c9271d.tar.xz hercules-518c179951dea8383eef43a31b02937210c9271d.zip |
Fixed wrong nullpo check
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/HPM.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c index 1fad7102f..c84b447e8 100644 --- a/src/common/HPM.c +++ b/src/common/HPM.c @@ -867,7 +867,7 @@ bool hplugins_get_battle_conf(const char *w1, int *value) { int i; - nullpo_retr(w1, value); + nullpo_retr(false, w1); nullpo_retr(false, value); ARR_FIND(0, VECTOR_LENGTH(HPM->config_listeners[HPCT_BATTLE]), i, strcmpi(w1, VECTOR_INDEX(HPM->config_listeners[HPCT_BATTLE], i).key) == 0); |