From 538965ad7519636e4baeef4fe8c32f893db713b3 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 6 Jun 2013 20:18:51 -0300 Subject: Enhanced warning on skill_unitgrouptickset_search So we can get some clue as to what is trying to cast it. Special Thanks to Zopokx. Signed-off-by: shennetsind --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index 0ca775ef7..0799dc1de 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -15336,7 +15336,7 @@ struct skill_unit_group_tickset *skill_unitgrouptickset_search (struct block_lis } if (j == -1) { - ShowWarning ("skill_unitgrouptickset_search: tickset is full\n"); + ShowWarning ("skill_unitgrouptickset_search: tickset is full. ( failed for skill '%s' on unit %d )\n",skill->get_name(group->skill_id),bl->type); j = id % MAX_SKILLUNITGROUPTICKSET; } -- cgit v1.2.3-70-g09d2