Export a few region members

This commit is contained in:
Adam
2016-12-25 18:07:09 -05:00
parent 845c0b5061
commit 70a56c3c91

View File

@@ -53,7 +53,7 @@ public class Region
public Region(int id)
{
this.regionID = id;
this.baseX = ((id >> 8) & 0xFF) << 6;
this.baseX = ((id >> 8) & 0xFF) << 6; // local coords are in bottom 6 bits (64*64)
this.baseY = (id & 0xFF) << 6;
}