diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-27 04:48:21 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-27 04:48:21 +0000 |
commit | 4b7725cdeff68626a8a9f7f8106a1cd18b850a8e (patch) | |
tree | 637f959c67a01db20a201646c1813ab717d022b8 /src/map/skill.c | |
parent | 3caa9006c553603e1d28278da4c83991ac87bc7f (diff) | |
download | hercules-4b7725cdeff68626a8a9f7f8106a1cd18b850a8e.tar.gz hercules-4b7725cdeff68626a8a9f7f8106a1cd18b850a8e.tar.bz2 hercules-4b7725cdeff68626a8a9f7f8106a1cd18b850a8e.tar.xz hercules-4b7725cdeff68626a8a9f7f8106a1cd18b850a8e.zip |
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13239 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 88e31821c..e4a4b1bbb 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11027,7 +11027,7 @@ static bool skill_parse_row_skilldb(char* split[], int columns, int current) || (id >= HM_SKILLRANGEMIN && id <= HM_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; } |