|
@@ -16752,6 +16752,11 @@ void clif_parse_cashshop_open_request( int fd, struct map_session_data* sd ){
|
|
tab = p->tab;
|
|
tab = p->tab;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+ if (map_getmapflag(sd->bl.m, MF_NOCASHSHOP)) {
|
|
|
|
+ clif_displaymessage(fd, msg_txt(sd, 451)); // Cash Shop is disabled on this map.
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
sd->state.cashshop_open = true;
|
|
sd->state.cashshop_open = true;
|
|
sd->npc_shopid = -1; // Set npc_shopid when using cash shop from "cash shop" button [Aelys|Susu] bugreport:96
|
|
sd->npc_shopid = -1; // Set npc_shopid when using cash shop from "cash shop" button [Aelys|Susu] bugreport:96
|
|
|
|
|