From c222a1ccea31863055df6153a9d7d1151f81a97a Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Mon, 12 Jan 2015 22:00:22 +0100 Subject: [PATCH] Added skill_id to error messages in skill_unit_move_sub --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/skill.c b/src/map/skill.c index edcd8e0425..40f22d5fd7 100755 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -17717,7 +17717,7 @@ int skill_unit_move_sub(struct block_list* bl, va_list ap) if( i < ARRAYLENGTH(skill_unit_temp) ) skill_unit_temp[i] = skill_id; else - ShowError("skill_unit_move_sub: Reached limit of unit objects per cell!\n"); + ShowError("skill_unit_move_sub: Reached limit of unit objects per cell! (skill_id: %hu)\n", skill_id ); } } @@ -17746,7 +17746,7 @@ int skill_unit_move_sub(struct block_list* bl, va_list ap) if( i < ARRAYLENGTH(skill_unit_temp) ) skill_unit_temp[i] = skill_id; else - ShowError("skill_unit_move_sub: Reached limit of unit objects per cell!\n"); + ShowError("skill_unit_move_sub: Reached limit of unit objects per cell! (skill_id: %hu)\n", skill_id ); } }