Skip to content

Commit

Permalink
[LotView] Count 3D pools for shadow casting
Browse files Browse the repository at this point in the history
I mean, it doesn't REALLY make sense since you only see the bottom of it
in unrealistic situations, but I guess...?
  • Loading branch information
riperiperi committed Nov 5, 2019
1 parent ff09554 commit 53a7922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TSOClient/tso.world/components/3DFloorGeometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public void DrawFloor(GraphicsDevice gd, GrassEffect e, WorldZoom zoom, WorldRot
foreach (var type in floor.GroupForTileType)
{
bool water = false;
if (type.Value is Modelled3DFloor && lightWorld == null)
if (type.Value is Modelled3DFloor)
{
//we generated a special model for this tile type
var mdl = type.Value as Modelled3DFloor;
Expand Down

0 comments on commit 53a7922

Please sign in to comment.