Skip to content

Commit

Permalink
Exclude problematic cryptic castle splines; Final winforms version 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamsyntax committed Jan 12, 2024
1 parent efdb87f commit 436b28d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShadowRando/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public MainForm()
InitializeComponent();
}

const string programVersion = "0.4.1-dev";
const string programVersion = "0.4.1";
private static string hoverSoundPath = AppDomain.CurrentDomain.BaseDirectory + "res/hover.wav";
private static string selectSoundPath = AppDomain.CurrentDomain.BaseDirectory + "res/select.wav";
Settings settings;
Expand Down Expand Up @@ -1274,7 +1274,7 @@ private void RandomizeSETs(Random r)
{
var splines = SplineReader.ReadShadowSplineFile(datOneDataContent.Files[0]);
foreach (var spline in splines) {
if (spline.SplineType == 32 && spline.Name.Contains("_cc_"))
if (spline.SplineType == 32 && spline.Name.Contains("_cc_") && !spline.Name.Contains("stg0300_cc_dr_jn_208") && !spline.Name.Contains("stg0300_cc_pr_jn_210"))
spline.Setting2 = 1;
}
var updatedPATHPTP = SplineReader.ShadowSplinesToByteArray(stageDataIdentifier, splines);
Expand Down

0 comments on commit 436b28d

Please sign in to comment.