Skip to content

Commit

Permalink
Added skill_id to error messages in skill_unit_move_sub
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemongrass3110 committed Jan 12, 2015
1 parent d1a1029 commit c222a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/skill.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

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

Expand Down

0 comments on commit c222a1c

Please sign in to comment.