Skip to content

Commit

Permalink
Switch to 0 being default again in the BCSV editor
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperHackio committed Feb 25, 2024
1 parent a9b4582 commit 6047d1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/whitehole/editor/BcsvEditorForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -871,12 +871,12 @@ private void btnAddRowActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIR
for (Bcsv.Field field : bcsv.fields.values()) {
switch(field.type) {
case 0:
case 3: row[i] = -1; break;
case 3: row[i] = 0; break;
case 1:
case 6: row[i] = ""; break;
case 2: row[i] = 0.0f; break;
case 4: row[i] = (short)-1; break;
case 5: row[i] = (byte)-1; break;
case 4: row[i] = (short)0; break;
case 5: row[i] = (byte)0; break;
}

i++;
Expand Down

0 comments on commit 6047d1d

Please sign in to comment.