Просмотр исходного кода

Small clarification of the error message after OnTouch trigger fail (bugreport:4964)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15088 54d463be-8e91-2dee-dedb-b68131a5f0ec
GodLesZ 13 лет назад
Родитель
Сommit
ebeb580a65
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/map/npc.c

+ 1 - 1
src/map/npc.c

@@ -897,7 +897,7 @@ int npc_touch_areanpc(struct map_session_data* sd, int m, int x, int y)
 	if( i == map[m].npc_num )
 	{
 		if( f == 1 ) // no npc found
-			ShowError("npc_touch_areanpc : stray NPC cell on coordinates '%s',%d,%d\n", map[m].name, x, y);
+			ShowError("npc_touch_areanpc : stray NPC cell/NPC not found in the block on coordinates '%s',%d,%d\n", map[m].name, x, y);
 		return 1;
 	}
 	switch(map[m].npc[i]->subtype) {