MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / restoreGameSettings

Function restoreGameSettings

TheForceEngine/TFE_Input/replay.cpp:1125–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123 }
1124
1125 void restoreGameSettings()
1126 {
1127 TFE_Settings_Game* gameSettings = TFE_Settings::getGameSettings();
1128 copyGameSettings(&replayGameSettings, gameSettings);
1129 TFE_Settings::getA11ySettings()->enableHeadwave = playerHeadwave;
1130 TFE_Settings::getGameSettings()->df_enableReplay = false;
1131 }
1132
1133 void restoreInputs()
1134 {

Callers 1

endReplayFunction · 0.85

Calls 3

getGameSettingsFunction · 0.85
copyGameSettingsFunction · 0.85
getA11ySettingsFunction · 0.85

Tested by

no test coverage detected