Skip to content

Commit

Permalink
crouching tiger hidden crash
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 26, 2017
1 parent d6aea48 commit 31676c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Steps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,9 @@ class LunaSteps: public Luna<Steps>
}
// ok really is this how i have to do this - mina
static int GetRelevantSkillsetsByMSDRank(T* p, lua_State *L) {
auto sortedskillsets = p->SortSkillsetsAtRate(FArg(1), false);
float rate = FArg(1);
CLAMP(rate, 0.7f, 2.f);
auto sortedskillsets = p->SortSkillsetsAtRate(rate, false);
int rank = IArg(2);
int i = NUM_Skillset - 1; // exclude Overall from this... need to handle overall better - mina
Skillset o;
Expand Down

0 comments on commit 31676c4

Please sign in to comment.