diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-13 20:04:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-13 20:04:43 +0000 |
commit | eadb49db50f6d6c8ab7fe2724e94c28f4690a1ea (patch) | |
tree | 5432fc7f0f3c0196154592112dfb5e9d75e2fd10 | |
parent | e89f2a34a9dccf3146ecc22a3b570936fe4aab6a (diff) | |
download | hercules-eadb49db50f6d6c8ab7fe2724e94c28f4690a1ea.tar.gz hercules-eadb49db50f6d6c8ab7fe2724e94c28f4690a1ea.tar.bz2 hercules-eadb49db50f6d6c8ab7fe2724e94c28f4690a1ea.tar.xz hercules-eadb49db50f6d6c8ab7fe2724e94c28f4690a1ea.zip |
- 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
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/char/char.c | 2 |
2 files changed, 3 insertions, 1 deletions
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';
|