Commit d7c88bdb authored by mercury233's avatar mercury233

fix races count

parent 72497b5d
...@@ -1755,7 +1755,7 @@ namespace WindBot.Game ...@@ -1755,7 +1755,7 @@ namespace WindBot.Game
int count = packet.ReadByte(); int count = packet.ReadByte();
int available = packet.ReadInt32(); int available = packet.ReadInt32();
int filter = 0x1; int filter = 0x1;
for (int i = 0; i < 23; ++i) for (int i = 0; i < 26; ++i)
{ {
if ((available & filter) != 0) if ((available & filter) != 0)
races.Add((CardRace)filter); races.Add((CardRace)filter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment