mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 17:32:54 +00:00
fix
This commit is contained in:
parent
3287031fe7
commit
77b4081edc
@ -95,13 +95,13 @@ BotBuiltinBotStop()
|
||||
|
||||
/*
|
||||
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"] ) )
|
||||
{
|
||||
self [[ level.bot_builtins["botmovement" ]]]( left, forward );
|
||||
self [[ level.bot_builtins["botmovement" ]]]( forward, right );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,7 @@ do_botstop()
|
||||
self BotStop();
|
||||
}
|
||||
|
||||
do_botmovement( left, forward )
|
||||
do_botmovement( forward, right )
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user