summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-09 17:58:00 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-09 17:58:00 +0000
commitb15e0c4634b8c8f62f7110617ed5c3ccf2078d04 (patch)
tree9d1c713a81099d766b94186f76d3d715c854c7ba /src/login
parent9f32d1bcd171917b444c0359c250b80b810f41c1 (diff)
downloadhercules-b15e0c4634b8c8f62f7110617ed5c3ccf2078d04.tar.gz
hercules-b15e0c4634b8c8f62f7110617ed5c3ccf2078d04.tar.bz2
hercules-b15e0c4634b8c8f62f7110617ed5c3ccf2078d04.tar.xz
hercules-b15e0c4634b8c8f62f7110617ed5c3ccf2078d04.zip
- Should have fixed a signed/unsigned warning in login-txt
- Moved the class-change code from battle_calc_weapon_attack to skill_additional_effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8211 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 81727b003..8dd82cffb 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1911,7 +1911,8 @@ int parse_fromchar(int fd) {
}
{
struct online_login_data *p;
- unsigned int aid, users;
+ int aid;
+ unsigned int users;
online_db->foreach(online_db,online_db_setoffline,id); //Set all chars from this char-server offline first
users = RFIFOW(fd,4);
for (i = 0; i < users; i++) {
@@ -1952,6 +1953,7 @@ int parse_fromchar(int fd) {
WFIFOSET(fd,WFIFOW(fd,2));
}
break;
+
case 0x2736: // WAN IP update from char-server
if (RFIFOREST(fd) < 6)
return 0;