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 | |
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')
-rw-r--r-- | src/login/login.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)
|