Skip to content

Commit

Permalink
Merge pull request #3517 from CombatExtended-Continued/revert-project…
Browse files Browse the repository at this point in the history
…ile-shadow

Revert projectile shadows
  • Loading branch information
N7Huntsman authored Nov 1, 2024
2 parents 57d6c77 + 9f67729 commit 2d19d11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ public override void DrawAt(Vector3 drawLoc, bool flip = false)
//TODO : EXPERIMENTAL Add edifice height
var shadowPos = new Vector3(ExactPosition.x,
def.Altitude - 0.001f,
ExactPosition.z - Mathf.Max(0f, ExactPosition.y));
ExactPosition.z);
//EXPERIMENTAL: + (new CollisionVertical(ExactPosition.ToIntVec3().GetEdifice(Map))).Max);

//TODO : Vary ShadowMat plane
Expand Down

0 comments on commit 2d19d11

Please sign in to comment.