protected static void DrawLand ( UltimaBatcher2D batcher, ushort graphic, int x, int y, ref UltimaBatcher2D.YOffsets yOffsets, ref Vector3 nTop, ref Vector3 nRight, ref Vector3 nLeft, ref Vector3 nBottom, Vector3 hue, float depth ) { var texture = TexmapsLoader.Instance.GetLandTexture(TileDataLoader.Instance.LandData[graphic].TexID, out var bounds); if (texture != null) { batcher.DrawStretchedLand ( texture, new Vector2(x, y), bounds, ref yOffsets, ref nTop, ref nRight, ref nLeft, ref nBottom, hue, depth + 0.5f ); } else { DrawStatic ( batcher, graphic, x, y, hue, depth ); } }