Added skill_id to error messages in skill_unit_move_sub

This commit is contained in:
Lemongrass3110 2015-01-12 22:00:22 +01:00
parent d1a1029316
commit c222a1ccea

View File

@ -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 );
}
}