Fix account wipe
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@984 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
55c44e3eb1
commit
698c842177
@ -1,6 +1,8 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
01/24
|
01/24
|
||||||
|
* Fixed a account wipe bug in login/login.c (Thanks Wallex)
|
||||||
|
[SVN 984] [MouseJstr]
|
||||||
* Fixed a crash in char_sql/char.c where people were selecting
|
* Fixed a crash in char_sql/char.c where people were selecting
|
||||||
chars before requesting connections [SVN 983] [MouseJstr]
|
chars before requesting connections [SVN 983] [MouseJstr]
|
||||||
* some G++ compile tweaks and got through several files in the
|
* some G++ compile tweaks and got through several files in the
|
||||||
|
@ -1025,7 +1025,6 @@ int mmo_auth_new(struct mmo_account* account, char sex, char* email) {
|
|||||||
if (auth_num >= auth_max) {
|
if (auth_num >= auth_max) {
|
||||||
auth_max += 256;
|
auth_max += 256;
|
||||||
auth_dat = (struct auth_dat*)aRealloc(auth_dat, sizeof(struct auth_dat) * auth_max);
|
auth_dat = (struct auth_dat*)aRealloc(auth_dat, sizeof(struct auth_dat) * auth_max);
|
||||||
memset(auth_dat, 0, sizeof(struct auth_dat) * auth_max);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(&auth_dat[i], '\0', sizeof(struct auth_dat));
|
memset(&auth_dat[i], '\0', sizeof(struct auth_dat));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user