fix movement

This commit is contained in:
ineed bots 2023-12-07 16:13:30 -06:00
parent 25d60f2a62
commit f5c9294176
2 changed files with 4 additions and 4 deletions

View File

@ -58,11 +58,11 @@ BotBuiltinBotStop()
Sets the bot's movement Sets the bot's movement
<client> botMovement(<int left>, <int forward>) <client> botMovement(<int left>, <int forward>)
*/ */
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 );
} }
} }

View File

@ -98,7 +98,7 @@ do_botstop()
// self BotStop(); // self BotStop();
} }
do_botmovement( right, forward ) do_botmovement( forward, right )
{ {
// best i can do for libcod... // best i can do for libcod...
if ( forward > 63 ) if ( forward > 63 )
@ -127,7 +127,7 @@ do_botmovement( right, forward )
self setwalkdir( "none" ); self setwalkdir( "none" );
// self botMovement( right, forward ); // self botMovement( forward, right );
} }
do_isbot() do_isbot()