summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-02 08:16:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-02 08:16:53 +0000
commite68708d62551a95f47af75bb843bb7a8c32a549c (patch)
tree584a96a773f5e801c7db24ca0003b5f2c689c932 /src/map/vending.c
parent4edd2cca4ff69edca3b222b80fb67a721808c441 (diff)
downloadhercules-e68708d62551a95f47af75bb843bb7a8c32a549c.tar.gz
hercules-e68708d62551a95f47af75bb843bb7a8c32a549c.tar.bz2
hercules-e68708d62551a95f47af75bb843bb7a8c32a549c.tar.xz
hercules-e68708d62551a95f47af75bb843bb7a8c32a549c.zip
Fixed npc reloading crash (bugreport:889)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12166 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/vending.c')
-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 dd0f7ad76..098bfa28f 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -237,7 +237,7 @@ void vending_openvending(struct map_session_data* sd, const char* message, bool
clif_skill_fail(sd, MC_VENDING, 0, 0);
return;
}
-
+
// check number of items in shop
if( count < 1 || count > MAX_VENDING || count > 2 + vending_skill_lvl )
{ // invalid item count