From 042913149087cff4dad4d36aa1a9c13703472f07 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 26 Oct 2007 09:25:55 +0000 Subject: Moved the new novending cell check from the internal code to the client-server interface (allows server to force-open shop if needed) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11580 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/vending.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/map/vending.c') diff --git a/src/map/vending.c b/src/map/vending.c index 45ec08edf..4e4a9b729 100644 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -237,12 +237,6 @@ void vending_openvending(struct map_session_data* sd, const char* message, bool return; } - if ( map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) - { - clif_displaymessage (sd->fd, msg_txt(276)); - return; //Can't vend in novending mapflag maps. - } - // check number of items in shop if( count < 1 || count > MAX_VENDING || count > 2 + vending_skill_lvl ) { // invalid item count -- cgit v1.2.3-70-g09d2