Pārlūkot izejas kodu

Added skill_id to error messages in skill_unit_move_sub

Lemongrass3110 10 gadi atpakaļ
vecāks
revīzija
c222a1ccea
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/map/skill.c

+ 2 - 2
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 );
 			}
 		}