Skip to content

Commit

Permalink
Fix native trap_BotMutateGoalFuzzyLogic
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform authored and zturtleman committed Mar 3, 2014
1 parent 71386be commit 950dc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/g_syscalls.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 950dc72

Please sign in to comment.