mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-05-12 22:44:50 +00:00
fix switching weapons
This commit is contained in:
parent
df30894124
commit
2fc779f013
@ -851,7 +851,7 @@ bot_weapon_think_loop( data )
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isWeaponDroppable( weapon ) )
|
if ( !isWeaponDroppable( weapon ) )
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user