Преглед на файлове

Fixed typo forgot next line

icxbb-xx преди 10 години
родител
ревизия
91156ab3ee
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      src/map/itemdb.c
  2. 2 2
      src/map/script.c

+ 1 - 1
src/map/itemdb.c

@@ -224,7 +224,7 @@ char itemdb_pc_get_itemgroup(uint16 group_id, struct map_session_data *sd) {
 	nullpo_retr(1,sd);
 	
 	if (!(group = (struct s_item_group_db *) uidb_get(itemdb_group, group_id))) {
-		ShowError("itemdb_pc_get_itemgroup: Invalid group id '%d' specified.",group_id);
+		ShowError("itemdb_pc_get_itemgroup: Invalid group id '%d' specified.\n",group_id);
 		return 2;
 	}
 	

+ 2 - 2
src/map/script.c

@@ -18229,7 +18229,7 @@ BUILDIN_FUNC(getgroupitem) {
 		return SCRIPT_CMD_SUCCESS;
 	
 	if (itemdb_pc_get_itemgroup(group_id,sd)) {
-		ShowError("getgroupitem: Invalid group id '%d' specified.",group_id);
+		ShowError("getgroupitem: Invalid group id '%d' specified.\n",group_id);
 		return SCRIPT_CMD_FAILURE;
 	}
 
@@ -18355,7 +18355,7 @@ BUILDIN_FUNC(consumeitem)
 			return SCRIPT_CMD_FAILURE;
 		}
 	}else{
-		ShowError("buildin_consumeitem: invalid data type for argument #1 (%d).", data->type );
+		ShowError("buildin_consumeitem: invalid data type for argument #1 (%d).\n", data->type );
 		return SCRIPT_CMD_FAILURE;
 	}