This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit b5a3663a7482d3695b061f312dec1034818b83de
Author: m4n4t4...@gmail.com 
<m4n4t4...@gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Mon Mar 3 12:52:53 2014 +0000

    All: Fix native trap_BotMutateGoalFuzzyLogic
---
 MP/code/game/g_syscalls.c | 2 +-
 SP/code/game/g_syscalls.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/game/g_syscalls.c b/MP/code/game/g_syscalls.c
index a044f97..a683e08 100644
--- a/MP/code/game/g_syscalls.c
+++ b/MP/code/game/g_syscalls.c
@@ -703,7 +703,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 ) {
diff --git a/SP/code/game/g_syscalls.c b/SP/code/game/g_syscalls.c
index 8d17dbd..3738610 100644
--- a/SP/code/game/g_syscalls.c
+++ b/SP/code/game/g_syscalls.c
@@ -717,7 +717,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 ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to