- 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://svn.code.sf.net/p/rathena/svn/trunk@7915 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-07-27 13:20:44 +00:00
parent 5062379bb4
commit 3fb5dce0ae
3 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/27 2006/07/27
* 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.
[Skotlex]
* Updated item_db.sql to latest. [Toms] * Updated item_db.sql to latest. [Toms]
* Fix homunc & code cleanup [Toms] * Fix homunc & code cleanup [Toms]
- Timer problems on delete_timer - Timer problems on delete_timer

View File

@ -2877,7 +2877,6 @@ int parse_frommap(int fd) {
if (RFIFOREST(fd) < 12) if (RFIFOREST(fd) < 12)
return 0; return 0;
{ {
int i;
int id = RFIFOL(fd, 2); int id = RFIFOL(fd, 2);
int fame = RFIFOL(fd, 6); int fame = RFIFOL(fd, 6);
char type = RFIFOB(fd, 10); char type = RFIFOB(fd, 10);

View File

@ -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_sd=(struct map_session_data *)tmpbl[temp];
mvp_damage=md->dmglog[i].dmg; mvp_damage=md->dmglog[i].dmg;
} }
temp++; // [Lance] temp++; // [Lance]
} }
count = i; //Total number of attackers. count = i; //Total number of attackers.