Skip to content

Commit

Permalink
Fix inconsistent console colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlamin committed Sep 27, 2024
1 parent efe9449 commit 95b8361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MapUpconverter/ADT/Obj0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static Warcraft.NET.Files.ADT.TerrainObject.Zero.TerrainObjectZero Conver
{
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("Warning: No FDID found for M2 " + wotlkModelName + ", this might indicate an outdated listfile or outdated downported asset filenames.");
Console.ResetColor();

if (uint.TryParse(Path.GetFileNameWithoutExtension(wotlkModelName), out fdid))
Console.WriteLine("Using M2 placeholder filename as FDID: " + fdid);
Expand Down Expand Up @@ -74,9 +75,8 @@ public static Warcraft.NET.Files.ADT.TerrainObject.Zero.TerrainObjectZero Conver
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("No FDID found for M2 " + wotlkModelName + ", using errorcube.m2 instead!");
fdid = 166046;
Console.ResetColor();
}

Console.ResetColor();
}

bfaObj0.ModelPlacementInfo.MDDFEntries[i].NameId = fdid;
Expand Down

0 comments on commit 95b8361

Please sign in to comment.