Skip to content

Commit

Permalink
stop wasting absurd amounts of cache space
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 11, 2017
1 parent ffe1856 commit a7e0be4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified extern/MinaCalc/MinaCalc.lib
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Steps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ void Steps::Decompress(bool isGameplay)
}

float Steps::GetMSD(float x, int i) const {
int idx = static_cast<int>(x * 10);
int idx = static_cast<int>(x * 10) - 7;
float prop = fmod(x * 10.f, 1.f);
if ( prop == 0)
return stuffnthings[idx][i];
Expand Down

0 comments on commit a7e0be4

Please sign in to comment.