summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-06-13 01:56:21 +0800
committerEuphy <euphy@rathena.org>2013-06-15 15:50:38 -0400
commit7c31f8720d8bd47c5ef134fc8dbe3bee54424af7 (patch)
tree2c492dcb9cb879dd9007ca48b193f45ccabefe5a /src/char
parent76d70688e9129f29f28ec6c838ddfbcf4be9b6fb (diff)
downloadhercules-7c31f8720d8bd47c5ef134fc8dbe3bee54424af7.tar.gz
hercules-7c31f8720d8bd47c5ef134fc8dbe3bee54424af7.tar.bz2
hercules-7c31f8720d8bd47c5ef134fc8dbe3bee54424af7.tar.xz
hercules-7c31f8720d8bd47c5ef134fc8dbe3bee54424af7.zip
Hercules Renewal Phase : Renewal
Rename SC names to eagis standard. Implement SC Configuration.(see db/sc_config.txt) Skill updates and fixes. Some code optimization. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index f889c1a25..7dfb6861c 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2027,6 +2027,8 @@ static void char_auth_ok(int fd, struct char_session_data *sd)
mapif_disconnectplayer(server[character->server].fd, character->account_id, character->char_id, 2);
if (character->waiting_disconnect == INVALID_TIMER)
character->waiting_disconnect = iTimer->add_timer(iTimer->gettick()+20000, chardb_waiting_disconnect, character->account_id, 0);
+ if (character)
+ character->pincode_enable = -1;
WFIFOHEAD(fd,3);
WFIFOW(fd,0) = 0x81;
WFIFOB(fd,2) = 8;