diff --git a/src/char/char.c b/src/char/char.c index 29d42f0f7e..093d2a980f 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1531,7 +1531,7 @@ int char_make_new_char_sql(struct char_session_data* sd, char* name_, int str, i //Retrieve the newly auto-generated char id char_id = (int)Sql_LastInsertId(sql_handle); //Give the char the default items - for (k = 0; k <= MAX_STARTITEM && tmp_start_items[k].nameid != 0; k ++) { + for (k = 0; k <= MAX_STARTITEM && tmp_start_items[k].nameid != 0; k++) { if( SQL_ERROR == Sql_Query(sql_handle, "INSERT INTO `%s` (`char_id`,`nameid`, `amount`, `equip`, `identify`) VALUES ('%d', '%hu', '%hu', '%hu', '%d')", schema_config.inventory_db, char_id, tmp_start_items[k].nameid, tmp_start_items[k].amount, tmp_start_items[k].pos, 1) ) Sql_ShowDebug(sql_handle); }