diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/login/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/login.c b/src/login/login.c index 16835d675..2b96eefec 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1131,8 +1131,8 @@ int mmo_auth(struct login_session_data* sd, bool isServer) { // update session data sd->account_id = acc.account_id; - sd->login_id1 = rnd(); - sd->login_id2 = rnd(); + sd->login_id1 = rnd() + 1; + sd->login_id2 = rnd() + 1; safestrncpy(sd->lastlogin, acc.lastlogin, sizeof(sd->lastlogin)); sd->sex = acc.sex; sd->group_id = acc.group_id; |