mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
newlines
This commit is contained in:
parent
f1307835af
commit
01e24ad079
@ -547,7 +547,7 @@ watchBotDebugEvent()
|
|||||||
|
|
||||||
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
|
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
|
||||||
{
|
{
|
||||||
BotBuiltinPrintConsole( "Bot Warfare debug: " + self.name + ": " + str + "\n" );
|
BotBuiltinPrintConsole( "Bot Warfare debug: " + self.name + ": " + str );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,7 +139,7 @@ doHostCheck()
|
|||||||
|
|
||||||
if ( getDvar( "bots_main_firstIsHost" ) != "0" )
|
if ( getDvar( "bots_main_firstIsHost" ) != "0" )
|
||||||
{
|
{
|
||||||
BotBuiltinPrintConsole( "WARNING: bots_main_firstIsHost is enabled\n" );
|
BotBuiltinPrintConsole( "WARNING: bots_main_firstIsHost is enabled" );
|
||||||
|
|
||||||
if ( getDvar( "bots_main_firstIsHost" ) == "1" )
|
if ( getDvar( "bots_main_firstIsHost" ) == "1" )
|
||||||
{
|
{
|
||||||
@ -1027,7 +1027,7 @@ readWpsFromFile( mapname )
|
|||||||
if ( !res.lines.size )
|
if ( !res.lines.size )
|
||||||
return waypoints;
|
return waypoints;
|
||||||
|
|
||||||
BotBuiltinPrintConsole( "Attempting to read waypoints from " + filename + "\n" );
|
BotBuiltinPrintConsole( "Attempting to read waypoints from " + filename );
|
||||||
|
|
||||||
waypointCount = int( res.lines[0] );
|
waypointCount = int( res.lines[0] );
|
||||||
|
|
||||||
@ -1061,7 +1061,7 @@ load_waypoints()
|
|||||||
if ( wps.size )
|
if ( wps.size )
|
||||||
{
|
{
|
||||||
level.waypoints = wps;
|
level.waypoints = wps;
|
||||||
BotBuiltinPrintConsole( "Loaded " + wps.size + " waypoints from csv.\n" );
|
BotBuiltinPrintConsole( "Loaded " + wps.size + " waypoints from csv" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1073,7 +1073,7 @@ load_waypoints()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( level.waypoints.size )
|
if ( level.waypoints.size )
|
||||||
BotBuiltinPrintConsole( "Loaded " + level.waypoints.size + " waypoints from script.\n" );
|
BotBuiltinPrintConsole( "Loaded " + level.waypoints.size + " waypoints from script" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !level.waypoints.size )
|
if ( !level.waypoints.size )
|
||||||
|
@ -11,7 +11,7 @@ init()
|
|||||||
|
|
||||||
do_printconsole( s )
|
do_printconsole( s )
|
||||||
{
|
{
|
||||||
PrintConsole( s );
|
PrintConsole( s + "\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_filewrite( file, contents, mode )
|
do_filewrite( file, contents, mode )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user