Fixed a ShowWarning call in skill_db.txt reading code using random data from the stack (bugreport:2282).

Blame goes to r5465 and all of the followups that moved, copypasted and even rewrote the message without noticing this mistake.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13239 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2008-09-27 04:48:21 +00:00
parent 6ef5c37fd3
commit 4bd9174d9c

View File

@ -11027,7 +11027,7 @@ static bool skill_parse_row_skilldb(char* split[], int columns, int current)
|| (id >= HM_SKILLRANGEMIN && id <= HM_SKILLRANGEMAX) || (id >= HM_SKILLRANGEMIN && id <= HM_SKILLRANGEMAX)
|| (id >= MC_SKILLRANGEMIN && id <= MC_SKILLRANGEMAX) ) || (id >= MC_SKILLRANGEMIN && id <= MC_SKILLRANGEMAX) )
{ {
ShowWarning("skill_parse_row_skilldb: Skill id %d is forbidden (interferes with guild/homun/mercenary skill mapping)!\n"); ShowWarning("skill_parse_row_skilldb: Skill id %d is forbidden (interferes with guild/homun/mercenary skill mapping)!\n", id);
return false; return false;
} }