summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-06 18:23:17 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-06 18:23:17 +0000
commit91ab4e4c9ddaf78f81b867180f627fd52d453942 (patch)
treef797c887e12af47318e26e0cca4b2aa650a68e88 /src
parentbf51609e227689a0c0c150fd878f3ea356a64319 (diff)
downloadhercules-91ab4e4c9ddaf78f81b867180f627fd52d453942.tar.gz
hercules-91ab4e4c9ddaf78f81b867180f627fd52d453942.tar.bz2
hercules-91ab4e4c9ddaf78f81b867180f627fd52d453942.tar.xz
hercules-91ab4e4c9ddaf78f81b867180f627fd52d453942.zip
- Follow-up to r16236, additional array increase to accommodate sprintf messages
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16237 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 a3d16f627..ba243f13f 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -281,7 +281,7 @@ void vending_openvending(struct map_session_data* sd, const char* message, bool
}
if( vending_checknearnpc(&sd->bl) ) {
- char output[50];
+ char output[150];
sprintf(output,"You're too close to a NPC, you must be at least %d cells away from any NPC.",battle_config.min_npc_vending_distance);
clif_displaymessage(sd->fd, output);
clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);