Misc tweaks

Fixes marking set #798
sleep deprivation ftw
This commit is contained in:
Kurt 2017-01-31 19:35:18 -08:00
parent b7a29c1017
commit 40456702a9
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace PKHeX.Core
namespace PKHeX.WinForms
{
public static class ImageUtil
{

View file

@ -3,7 +3,7 @@ using System.Drawing;
using System.IO;
using System.Net;
namespace PKHeX.Core
namespace PKHeX.WinForms
{
public class NetUtil
{

View file

@ -374,7 +374,7 @@ namespace PKHeX.Core
return;
byte b = 0;
for (int i = 0; i < value.Length; i++)
b |= (byte)(Math.Max(value[i], 1) << i);
b |= (byte)(Math.Min(value[i], 1) << i);
MarkValue = b;
}
}