fix switching weapons

This commit is contained in:
ineed bots 2024-09-22 11:28:03 -06:00
parent df30894124
commit 2fc779f013
2 changed files with 2 additions and 2 deletions

View File

@ -851,7 +851,7 @@ bot_weapon_think_loop( data )
continue; continue;
} }
if ( isWeaponDroppable( weapon ) ) if ( !isWeaponDroppable( weapon ) )
{ {
continue; continue;
} }

View File

@ -1383,7 +1383,7 @@ parseTokensIntoWaypoint( tokens )
readWpsFromFile( mapname ) readWpsFromFile( mapname )
{ {
waypoints = []; waypoints = [];
filename = mapname + "_wp.csv"; filename = "waypoints/" + mapname + "_wp.csv";
f = openfile( filename, "read" ); f = openfile( filename, "read" );
if ( f < 0 ) if ( f < 0 )