summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-23 23:37:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-23 23:37:52 +0000
commit229785245a12c5a6b6b4e481bc5139f11bb6228c (patch)
treef186f5f2a8fab48f29115652e5531d90e532ef46 /src/map/skill.c
parent93109355b4f0b7dcbf9aa827716590df9cd3f9cd (diff)
downloadhercules-229785245a12c5a6b6b4e481bc5139f11bb6228c.tar.gz
hercules-229785245a12c5a6b6b4e481bc5139f11bb6228c.tar.bz2
hercules-229785245a12c5a6b6b4e481bc5139f11bb6228c.tar.xz
hercules-229785245a12c5a6b6b4e481bc5139f11bb6228c.zip
- Fixed the mob_override_name setting not working on summoned mobs.
- The server now prints an error message when it the produce_db reaches the max number of allowed produce recipes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9907 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 264a5b4a0..ac1187126 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11442,7 +11442,10 @@ int skill_readdb (void)
}
k++;
if(k >= MAX_SKILL_PRODUCE_DB)
+ {
+ ShowError("Reached the max number of produce_db entries (%d), consider raising the value of MAX_SKILL_PRODUCE_DB and recompile.\n", MAX_SKILL_PRODUCE_DB);
break;
+ }
}
fclose(fp);
ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n",k,path);