Skip to content

Commit

Permalink
Tweak last
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Mar 17, 2024
1 parent afc19f2 commit 70ece4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static void updateFeatureOrientation(FEATURE *psFeature)
// FUTURE TODO: Ensure that no tree geometry is hovering above the terrain when placed on an aggressive slope, while still ensuring it points up, by burying the base a bit if needed?
return;
}
if (psFeature->psStats-subType == FEAT_SKYSCRAPER)
if (psFeature->psStats->subType == FEAT_SKYSCRAPER)
{
// Do not rotate or pitch - skyscrapers should also point up
// FUTURE TODO: Possibly stretch the base of the skyscraper if needed?
Expand Down

0 comments on commit 70ece4f

Please sign in to comment.