diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-26 09:25:55 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-26 09:25:55 +0000 |
commit | 042913149087cff4dad4d36aa1a9c13703472f07 (patch) | |
tree | cd78ad741b36c91f1c0b48a63a8f7366464673fd /src/map/vending.c | |
parent | 525e08137aa36cc2bbd8284f8b48de01bbb70b4f (diff) | |
download | hercules-042913149087cff4dad4d36aa1a9c13703472f07.tar.gz hercules-042913149087cff4dad4d36aa1a9c13703472f07.tar.bz2 hercules-042913149087cff4dad4d36aa1a9c13703472f07.tar.xz hercules-042913149087cff4dad4d36aa1a9c13703472f07.zip |
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
Diffstat (limited to 'src/map/vending.c')
-rw-r--r-- | src/map/vending.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 |