From dc4f74eb17589524084cd08118f6fb60cfdcbf02 Mon Sep 17 00:00:00 2001 From: brianluau Date: Wed, 11 Nov 2009 21:49:50 +0000 Subject: - Fixed a typo in Strawberry Cake (12319). (bugreport:3702) - Fixed a typo in Halloween 2009 Event. (bugreport:3711) - Updated SQL item/mob databases to latest. (thanks Peter) - Applied the change from r14087 to @tonpc, @shownpc, @hidenpc. (bugreport:3599) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14142 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f46c67c33..fe86cced7 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4637,7 +4637,7 @@ int atcommand_nuke(const int fd, struct map_session_data* sd, const char* comman *------------------------------------------*/ int atcommand_tonpc(const int fd, struct map_session_data* sd, const char* command, const char* message) { - char npcname[NAME_LENGTH]; + char npcname[NAME_LENGTH+1]; struct npc_data *nd; nullpo_retr(-1, sd); @@ -4667,7 +4667,7 @@ int atcommand_tonpc(const int fd, struct map_session_data* sd, const char* comma *------------------------------------------*/ int atcommand_shownpc(const int fd, struct map_session_data* sd, const char* command, const char* message) { - char NPCname[NAME_LENGTH]; + char NPCname[NAME_LENGTH+1]; nullpo_retr(-1, sd); memset(NPCname, '\0', sizeof(NPCname)); @@ -4693,7 +4693,7 @@ int atcommand_shownpc(const int fd, struct map_session_data* sd, const char* com *------------------------------------------*/ int atcommand_hidenpc(const int fd, struct map_session_data* sd, const char* command, const char* message) { - char NPCname[NAME_LENGTH]; + char NPCname[NAME_LENGTH+1]; nullpo_retr(-1, sd); memset(NPCname, '\0', sizeof(NPCname)); -- cgit v1.2.3-60-g2f50