diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 13:20:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 13:20:44 +0000 |
commit | d8b0f15444e87644ccee5a5e1ea4449c9b918fec (patch) | |
tree | 573cb9355627f6b77d02a39771321598c6404fde /src | |
parent | f4b532bd5afbf9d76eca469cd22d162cbc3bbbe5 (diff) | |
download | hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.tar.gz hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.tar.bz2 hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.tar.xz hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.zip |
- Removed a redeclared variable i in the parsing of the fame list (char-txt server) which seems to be the cause of the random memory corruptions.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7915 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/char_sql/char.c | 1 | ||||
-rw-r--r-- | src/map/mob.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 059e1aace..098736caf 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2877,7 +2877,6 @@ int parse_frommap(int fd) { if (RFIFOREST(fd) < 12)
return 0;
{
- int i;
int id = RFIFOL(fd, 2);
int fame = RFIFOL(fd, 6);
char type = RFIFOB(fd, 10);
diff --git a/src/map/mob.c b/src/map/mob.c index 961e79c49..7eed36758 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1765,7 +1765,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) mvp_sd=(struct map_session_data *)tmpbl[temp]; mvp_damage=md->dmglog[i].dmg; } - temp++; // [Lance] } count = i; //Total number of attackers. |