summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-28 14:42:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-28 14:42:04 +0000
commit0ce51345c593a04feb87d338fe74189cfb603223 (patch)
treefdb3100a425c109061b91bea61b53547e3b8952e /src/login_sql
parentad245cf78e5433863b990b581483dcd1523526ce (diff)
downloadhercules-0ce51345c593a04feb87d338fe74189cfb603223.tar.gz
hercules-0ce51345c593a04feb87d338fe74189cfb603223.tar.bz2
hercules-0ce51345c593a04feb87d338fe74189cfb603223.tar.xz
hercules-0ce51345c593a04feb87d338fe74189cfb603223.zip
- Fixed a compile warning in the login txt/sql server.
- Changed the mob drop rate adjust function to receive a signed int argument. Probably will fix those drops with 0% becoming 100% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7371 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 7bc4d124e..d26e0cd04 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -159,6 +159,8 @@ static void* create_online_user(DBKey key, va_list args) {
return p;
}
+int charif_sendallwos(int sfd, unsigned char *buf, unsigned int len);
+
//-----------------------------------------------------
// Online User Database [Wizputer]
//-----------------------------------------------------
@@ -237,8 +239,6 @@ void read_gm_account(void) {
}
}
-int charif_sendallwos(int sfd, unsigned char *buf, unsigned int len);
-
//-----------------------------------------------------
// Send GM accounts to all char-server
//-----------------------------------------------------