fixed so now shadowcasting is on a branch again