Example #1
0
    private static void ComputeRayAtPosition(int x, int z)
    {
        int surface = Map.GetSurface(x, z);

        MapLight.SetRay(x, z, (byte)(surface + 1));
    }