Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Fall back to without ageScaling
Browse files Browse the repository at this point in the history
  • Loading branch information
risvh committed Jun 1, 2023
1 parent 37c3b6c commit 7aad519
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gameSource/ageControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ static doublePair defaultAgeScaling[] = {


void initAgeControl() {

bool useSteamUpdate = SettingsManager::getIntSetting( "useSteamUpdate", 0 ) != 0;

babyHeadDownFactor =
SettingsManager::getFloatSetting( "babyHeadDownFactor", 0.6 );

Expand All @@ -38,7 +41,7 @@ void initAgeControl() {
oldHeadForwardFactor =
SettingsManager::getFloatSetting( "oldHeadForwardFactor", 2 );

initAgeScaling();
if( !useSteamUpdate ) initAgeScaling();

}

Expand Down

0 comments on commit 7aad519

Please sign in to comment.