Skip to content

Commit

Permalink
modified: source/fixes/F1WorldGrandPrix2000WidescreenFix.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
alphayellow1 committed Nov 11, 2024
1 parent b5be7b8 commit 78558cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/fixes/F1WorldGrandPrix2000WidescreenFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ void OpenFile(fstream &file, const string &filename)

double NewCameraFOVCalculation(uint32_t &newWidthValue, uint32_t &newHeightValue)
{
newCameraFOVValue = (static_cast<double>(newWidthValue) / static_cast<double>(newHeightValue)) / (4.0 / 3.0);
return newCameraFOVValue;
return (static_cast<double>(newWidthValue) / static_cast<double>(newHeightValue)) / (4.0 / 3.0);
}

int main()
Expand Down

0 comments on commit 78558cb

Please sign in to comment.