Browse Source

- Follow-up to r16236, additional array increase to accommodate sprintf messages

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16237 54d463be-8e91-2dee-dedb-b68131a5f0ec
epoque11 13 years ago
parent
commit
2c8e9238ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/vending.c

+ 1 - 1
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);