From eadb49db50f6d6c8ab7fe2724e94c28f4690a1ea Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 13 Nov 2006 20:04:43 +0000 Subject: - Fixed a bug where the char-txt server was incorrectly saving memos, causing character data to be lost on restart. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9209 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/char/char.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 602e20361..ff7c9dcd0 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2006/11/13 + * Fixed a bug where the char-txt server was incorrectly saving memos, + causing character data to be lost on restart. [Skotlex] * HP Conversion will fail when used at max SP. It should not display any errors to the client. [Skotlex] * Modified yet again the login procedure to enable character variables to diff --git a/src/char/char.c b/src/char/char.c index 6e96ec0f0..d1ed13596 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -451,7 +451,7 @@ int mmo_char_tostr(char *str, struct mmo_charstatus *p, struct global_reg *reg, p->partner_id,p->father,p->mother,p->child,p->fame); for(i = 0; i < MAX_MEMOPOINTS; i++) if (p->memo_point[i].map) { - str_p += sprintf(str_p, "%d,%d,%d", p->memo_point[i].map, p->memo_point[i].x, p->memo_point[i].y); + str_p += sprintf(str_p, "%d,%d,%d ", p->memo_point[i].map, p->memo_point[i].x, p->memo_point[i].y); } *(str_p++) = '\t'; -- cgit v1.2.3-70-g09d2