Skip to content

Commit

Permalink
transpiling
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoNeko committed Apr 30, 2020
1 parent c9a5f6c commit c1af9e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,14 @@ static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> inst
for (int i = 0; i < codes.Count; i++)
{
RoadsOfTheRim.DebugLog("Transpiler operand =" + codes[i].operand.ToString());
/*
if (codes[i].operand as float? == 0.5)
{
codes[i].operand = 1;
RoadsOfTheRim.DebugLog("Transpiler found 0.5 in AddPathEndPoint");
break;
}
*/
}
return codes.AsEnumerable();
}
Expand Down
Binary file modified v1.1/Assemblies/RoadsOfTheRim.dll
Binary file not shown.

0 comments on commit c1af9e8

Please sign in to comment.