summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-29 14:34:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-29 14:34:02 +0000
commit9a530c03732051934d0f0cc96be7658e90e9d5c2 (patch)
tree69c74580bea36ec6519d7345f4971fced9b19ec0 /src/login
parent29856008bba6adc02a38c44ef1f03aef1743b313 (diff)
downloadhercules-9a530c03732051934d0f0cc96be7658e90e9d5c2.tar.gz
hercules-9a530c03732051934d0f0cc96be7658e90e9d5c2.tar.bz2
hercules-9a530c03732051934d0f0cc96be7658e90e9d5c2.tar.xz
hercules-9a530c03732051934d0f0cc96be7658e90e9d5c2.zip
* Ladmin fixes
- Added vs8 project file for ladmin - Replaced all occurences of printf in ladmin.c with ShowMessage - Fixed ladmin working with ips using the wrong byte orer * Fixed @jumpto displaying the incorrect player name * Added more safeguards to socket.c against socket ids out of range git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10409 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index cc30221e8..802ab95fe 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -116,6 +116,7 @@ struct online_login_data {
int char_server;
};
+// holds info about all existing accounts
struct auth_data {
uint32 account_id;
uint8 sex; // 0, 1, 2
@@ -131,7 +132,7 @@ struct auth_data {
char last_ip[16]; // save of last IP of connection
char memo[255]; // a memo field
int account_reg2_num;
- struct global_reg account_reg2[ACCOUNT_REG2_NUM];
+ struct global_reg account_reg2[ACCOUNT_REG2_NUM]; // account script variables
} *auth_dat = NULL;
uint32 auth_num = 0, auth_max = 0;