diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-03 14:39:15 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-03 14:39:15 +0000 |
commit | 8c01ccc448ce7ba067ece0e0dbc524671754494a (patch) | |
tree | f853883aca2709e637104aecbcc298cc2d8a51f2 /src/login_sql/login.c | |
parent | b5febfe0a8d95d69ba8de291994993fabc5d718a (diff) | |
download | hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.tar.gz hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.tar.bz2 hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.tar.xz hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.zip |
- 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
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r-- | src/login_sql/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index d26e0cd04..b58e7a96f 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1347,7 +1347,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++) {
@@ -1395,7 +1395,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);
|