botsshoot/bot survival mode update, tolower/upper, convertcase, and testchar

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6436 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-05-14 18:12:39 +00:00
parent f5b33a6a7b
commit 8063219400
6 changed files with 218 additions and 9 deletions
+11 -8
View File
@@ -1010,15 +1010,18 @@ COMMAND(addnbot, ARG_3STR);
void botsshoot(int Shoot)
{
if (Shoot)
switch(Shoot)
{
BotManager.SetBotsShoot(true);
conoutf("Bots will shoot");
}
else
{
BotManager.SetBotsShoot(false);
conoutf("Bots won't shoot");
case 0:
BotManager.SetBotsShoot(false);
conoutf("Bots won't shoot");
break;
case 1:
BotManager.SetBotsShoot(true);
conoutf("Bots will shoot");
break;
default:
intret(BotManager.BotsShoot()); break;
}
}