summaryrefslogtreecommitdiff
path: root/src/map/buyingstore.c
diff options
context:
space:
mode:
authorshenhuyong <shenhuyong@hotmail.com>2013-10-03 14:26:16 +0800
committershenhuyong <shenhuyong@hotmail.com>2013-10-03 14:26:16 +0800
commitd153854f32c4fd9265010e6936db49e23137db08 (patch)
tree7b389a5693d5003e88880ce7bfb9d5500551ebb4 /src/map/buyingstore.c
parentea84a19426cd401615421ee3f3d2eff2d741beb7 (diff)
parent2f2afbd3b63a75695f8f96e3bcb4db9fff5a7dc6 (diff)
downloadhercules-d153854f32c4fd9265010e6936db49e23137db08.tar.gz
hercules-d153854f32c4fd9265010e6936db49e23137db08.tar.bz2
hercules-d153854f32c4fd9265010e6936db49e23137db08.tar.xz
hercules-d153854f32c4fd9265010e6936db49e23137db08.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/buyingstore.c')
-rw-r--r--src/map/buyingstore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/buyingstore.c b/src/map/buyingstore.c
index 92bf9b869..2a9e6a88e 100644
--- a/src/map/buyingstore.c
+++ b/src/map/buyingstore.c
@@ -34,7 +34,7 @@ bool buyingstore_setup(struct map_session_data* sd, unsigned char slots)
return false;
}
- if( maplist[sd->bl.m].flag.novending ) {
+ if( map->list[sd->bl.m].flag.novending ) {
// custom: no vending maps
clif->message(sd->fd, msg_txt(276)); // "You can't open a shop on this map"
return false;
@@ -89,7 +89,7 @@ void buyingstore_create(struct map_session_data* sd, int zenylimit, unsigned cha
return;
}
- if( maplist[sd->bl.m].flag.novending ) {
+ if( map->list[sd->bl.m].flag.novending ) {
// custom: no vending maps
clif->message(sd->fd, msg_txt(276)); // "You can't open a shop on this map"
return;