- Fixed a bug in the pc_skillreset function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5543 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9ca89d4cdc
commit
f1a58a1ae9
@ -5,6 +5,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV
|
|||||||
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
|
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
|
||||||
|
|
||||||
2006/03/09
|
2006/03/09
|
||||||
|
* Fixed a bug in the pc_skillreset function which allowed TK rankers to
|
||||||
|
accumulate skill points. [Skotlex]
|
||||||
* Fixed a major memory leak in status.c causing the last column of job_db1.txt
|
* Fixed a major memory leak in status.c causing the last column of job_db1.txt
|
||||||
never being read. I have no idea how long this has been there, but signs point
|
never being read. I have no idea how long this has been there, but signs point
|
||||||
to us using Katars at a random ASPD from somewhere in memory for ages. [blackhole89]
|
to us using Katars at a random ASPD from somewhere in memory for ages. [blackhole89]
|
||||||
|
@ -5145,6 +5145,7 @@ int pc_resetskill(struct map_session_data* sd, int flag)
|
|||||||
else if (sd->status.skill[i].flag > 2 && sd->status.skill[i].flag != 13)
|
else if (sd->status.skill[i].flag > 2 && sd->status.skill[i].flag != 13)
|
||||||
sd->status.skill_point += (sd->status.skill[i].flag - 2);
|
sd->status.skill_point += (sd->status.skill[i].flag - 2);
|
||||||
sd->status.skill[i].lv = 0;
|
sd->status.skill[i].lv = 0;
|
||||||
|
sd->status.skill[i].flag = 0;
|
||||||
}
|
}
|
||||||
else if (battle_config.quest_skill_reset && (inf2&INF2_QUEST_SKILL))
|
else if (battle_config.quest_skill_reset && (inf2&INF2_QUEST_SKILL))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user