diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-08 00:39:47 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-08 00:39:47 +0000 |
commit | 929ac35fb4e18b5c71ad267d692a5c7da28cd7fa (patch) | |
tree | 2ff55570cb13d34d99a5f6b8831e5127658fd6cf /src/char/char.c | |
parent | 2db0477702089adf6d858bdc872d9e82dc222332 (diff) | |
download | hercules-929ac35fb4e18b5c71ad267d692a5c7da28cd7fa.tar.gz hercules-929ac35fb4e18b5c71ad267d692a5c7da28cd7fa.tar.bz2 hercules-929ac35fb4e18b5c71ad267d692a5c7da28cd7fa.tar.xz hercules-929ac35fb4e18b5c71ad267d692a5c7da28cd7fa.zip |
- Fixed Char-SQL server setting up the save/last point to the novice grounds when either x, y or the map is 0.
- Commented the char server setting up Prontera as default point when there's none (this bug should not exist)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5218 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index acb7779d7..3cc5fc69b 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -352,13 +352,14 @@ int mmo_char_tostr(char *str, struct mmo_charstatus *p, struct global_reg *reg, int i,j;
char *str_p = str;
+ /* We shouldn't need this anymore... [Skotlex]
// on multi-map server, sometimes it's posssible that last_point become void. (reason???) We check that to not lost character at restart.
if (!p->last_point.map) {
p->last_point.map = mapindex_name2id(MAP_PRONTERA);
p->last_point.x = 273;
p->last_point.y = 354;
}
-
+ */
str_p += sprintf(str_p, "%d\t%d,%d\t%s\t%d,%d,%d\t%d,%d,%d\t%d,%d,%d,%d\t%d,%d,%d,%d,%d,%d\t%d,%d"
"\t%d,%d,%d\t%d,%d,%d\t%d,%d,%d\t%d,%d,%d,%d,%d"
"\t%s,%d,%d\t%s,%d,%d,%d,%d,%d,%d,%d\t",
|