Bläddra i källkod

Display a message showing the user where to change MAX_ITEMDELAYS when they have too many entries in the item_delays db. Follow-up to r14455.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14499 54d463be-8e91-2dee-dedb-b68131a5f0ec
Paradox924X 14 år sedan
förälder
incheckning
8b08fa4241
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/itemdb.c

+ 1 - 0
Changelog-Trunk.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 2010/11/24
+	* Display a message showing the user where to change MAX_ITEMDELAYS when they have too many entries in the item_delays db. Follow-up to r14455. [Paradox924X]
 	* Fixed pets with player sprites causing the client to crash while looking for non-existing resources (topic:260895, follow up to r14488). [Ai4rei]
 	* Fixed calls to pc_delautobonus assuming map_session_data::autobonus2 and map_session_data::autobonus3 arrays having the same size as map_session_data::autobonus (since r13915). [Ai4rei]
 2010/11/23

+ 1 - 1
src/map/itemdb.c

@@ -680,7 +680,7 @@ static int itemdb_read_itemdelay(void)
 	while(fgets(line, sizeof(line), fp))
 	{
 		if (item_delays == MAX_ITEMDELAYS) {
-			ShowError("itemdb_read_itemdelay: Too many entries specified in %s/item_delay.txt!\n", db_path);
+			ShowError("itemdb_read_itemdelay: Too many entries specified in %s/item_delay.txt! Increase MAX_ITEMDELAYS in itemdb.h!\n", db_path);
 			break;
 		}
 		if (line[0] == '/' && line[1] == '/')