summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-06 20:18:51 -0300
committershennetsind <ind@henn.et>2013-06-06 20:18:51 -0300
commit538965ad7519636e4baeef4fe8c32f893db713b3 (patch)
tree802ba63cb995b665185110890bce53060a7de232 /src/map/skill.c
parent3c0ad92281046c12231e108df43cc95578397f8c (diff)
downloadhercules-538965ad7519636e4baeef4fe8c32f893db713b3.tar.gz
hercules-538965ad7519636e4baeef4fe8c32f893db713b3.tar.bz2
hercules-538965ad7519636e4baeef4fe8c32f893db713b3.tar.xz
hercules-538965ad7519636e4baeef4fe8c32f893db713b3.zip
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 <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
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;
}