From 8c01ccc448ce7ba067ece0e0dbc524671754494a Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 3 Jul 2006 14:39:15 +0000 Subject: - Fixed a compile warning in login sql/txt - Fixed pc_makesavestatus not setting your logout position. - Fixed the UF * flags of Songs/Dances in skill_unit_db. - Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE. - Added the missing +100% damage modifier of Enchant Deadly Poison. - Fixed SkillStatusChangeTable not working correctly for Homun/Guild skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7454 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/login/login.c') diff --git a/src/login/login.c b/src/login/login.c index a472b3216..a617c79d9 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1911,7 +1911,7 @@ int parse_fromchar(int fd) { } { struct online_login_data *p; - int aid, i, users; + int aid, 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++) { @@ -1956,7 +1956,7 @@ int parse_fromchar(int fd) { case 0x2736: // WAN IP update from char-server if (RFIFOREST(fd) < 6) return 0; - ShowInfo("Updated IP of Server #%d to %d.%d.%d.%d.\n",i, + ShowInfo("Updated IP of Server #%d to %d.%d.%d.%d.\n",id, (int)RFIFOB(fd,2),(int)RFIFOB(fd,3), (int)RFIFOB(fd,4),(int)RFIFOB(fd,5)); server[id].ip = RFIFOL(fd,2); @@ -1967,7 +1967,7 @@ int parse_fromchar(int fd) { if (RFIFOREST(fd) < 4 || RFIFOREST(fd) < RFIFOW(fd,2)) return 0; { - unsigned int sex,i = 0; + unsigned int sex; acc = RFIFOL(fd,4); sex = RFIFOB(fd,8); if (sex != 0 && sex != 1) -- cgit v1.2.3-60-g2f50