summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-13 20:04:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-13 20:04:43 +0000
commiteadb49db50f6d6c8ab7fe2724e94c28f4690a1ea (patch)
tree5432fc7f0f3c0196154592112dfb5e9d75e2fd10 /src/char
parente89f2a34a9dccf3146ecc22a3b570936fe4aab6a (diff)
downloadhercules-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
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
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';