summaryrefslogtreecommitdiff
path: root/src/char/char.h
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-03-16 10:13:03 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-03-16 10:13:03 +0800
commitf214021bb14aa3ab976730b32dd79d843ff8e93e (patch)
treef44f07da3c31f44117de809cbafbec7baf635367 /src/char/char.h
parent84e8f1872f0f00d6f82d6fe85974bb1f37247c53 (diff)
downloadhercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.tar.gz
hercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.tar.bz2
hercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.tar.xz
hercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.zip
Follow up fixed for Pin Code Feature
-Fixed some warning in Windows. -Fixed 'pincode_charselect' where it doesn't work properly Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/char/char.h')
-rw-r--r--src/char/char.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/char/char.h b/src/char/char.h
index 934c26f45..b48ea359c 100644
--- a/src/char/char.h
+++ b/src/char/char.h
@@ -30,7 +30,6 @@ struct char_session_data {
uint32 pincode_seed;
uint16 pincode_try;
uint32 pincode_change;
- bool pincode_pass;
char new_name[NAME_LENGTH];
char birthdate[10+1]; // YYYY-MM-DD
};
@@ -41,7 +40,7 @@ struct online_char_data {
int fd;
int waiting_disconnect;
short server; // -2: unknown server, -1: not connected, 0+: id of server
- bool pincode_passed;
+ int pincode_enable;
};
DBMap* online_char_db; // int account_id -> struct online_char_data*