mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-21 21:45:43 +00:00
fix
This commit is contained in:
parent
c3ca2314fc
commit
a9b35c3502
@ -107,13 +107,13 @@ BotBuiltinBotStop()
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Sets the bot's movement
|
Sets the bot's movement
|
||||||
<client> botMovement(<int left>, <int forward>)
|
<client> botMovement(<int forward>, <int right>)
|
||||||
*/
|
*/
|
||||||
BotBuiltinBotMovement( left, forward )
|
BotBuiltinBotMovement( forward, right )
|
||||||
{
|
{
|
||||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmovement"] ) )
|
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmovement"] ) )
|
||||||
{
|
{
|
||||||
self [[ level.bot_builtins["botmovement" ]]]( left, forward );
|
self [[ level.bot_builtins["botmovement" ]]]( forward, right );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ do_botstop()
|
|||||||
self BotStop();
|
self BotStop();
|
||||||
}
|
}
|
||||||
|
|
||||||
do_botmovement( left, forward )
|
do_botmovement( forward, right )
|
||||||
{
|
{
|
||||||
self BotMovement( left, forward );
|
self BotMovement( forward, right );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user