Fix native trap_BotMutateGoalFuzzyLogic

This commit is contained in:
Ensiform 2014-03-02 22:53:15 -06:00 committed by Zack Middleton
parent 71386beaac
commit 950dc7254a

View file

@ -688,7 +688,7 @@ void trap_BotSaveGoalFuzzyLogic(int goalstate, char *filename) {
}
void trap_BotMutateGoalFuzzyLogic(int goalstate, float range) {
syscall( BOTLIB_AI_MUTATE_GOAL_FUZZY_LOGIC, goalstate, range );
syscall( BOTLIB_AI_MUTATE_GOAL_FUZZY_LOGIC, goalstate, PASSFLOAT(range) );
}
int trap_BotAllocGoalState(int state) {