Skip to content

Commit 3f08e02

Browse files
committed
Fix farDist/nearDist members
1 parent 0afd839 commit 3f08e02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/awe/objectstream.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,10 @@ void ObjectStream::spotLight(Templates::SpotLight &spotLight) {
601601
object("meshResource", spotLight.meshResource, kRID);
602602
variable("meshPosition", spotLight.meshPosition);
603603
variable("meshRotation", spotLight.meshRotation);
604-
variable("near", spotLight.near);
604+
variable("near", spotLight.nearDist);
605605
variable("depthBias", spotLight.depthBias);
606606
variable("depthSlopeBias", spotLight.depthSlopeBias);
607-
variable("far", spotLight.far);
607+
variable("far", spotLight.farDist);
608608
variable("drainMultiplier", spotLight.drainMultiplier);
609609
variable("controllable", spotLight.controllable);
610610
variable("enableSpecular", spotLight.enableSpecular);

0 commit comments

Comments
 (0)