diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-11 21:49:50 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-11 21:49:50 +0000 |
commit | dc4f74eb17589524084cd08118f6fb60cfdcbf02 (patch) | |
tree | 4734baf9ab9d851c711d164fdf8e46c16fcd248e /src/map | |
parent | 377dacc950ad9be9d142e6631bfe2b3b3cd5d9d7 (diff) | |
download | hercules-dc4f74eb17589524084cd08118f6fb60cfdcbf02.tar.gz hercules-dc4f74eb17589524084cd08118f6fb60cfdcbf02.tar.bz2 hercules-dc4f74eb17589524084cd08118f6fb60cfdcbf02.tar.xz hercules-dc4f74eb17589524084cd08118f6fb60cfdcbf02.zip |
- 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
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |