summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/vending.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index e84ac488f..a3d16f627 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -238,7 +238,7 @@ static int vending_checknearnpc_sub(struct block_list* bl, va_list args) {
struct npc_data *nd = (struct npc_data*)bl;
if( nd->sc.option & (OPTION_HIDE|OPTION_INVISIBLE) )
- return 1;
+ return 0;
return 1;
}