remove that annoying extra conoutf from botgames
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7331 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -666,7 +666,7 @@ void CBotManager::CreateSkillData()
|
||||
}
|
||||
}
|
||||
|
||||
conoutf("done\n");
|
||||
conoutf("done");
|
||||
}
|
||||
|
||||
void CBotManager::InitSkillData()
|
||||
@@ -988,9 +988,8 @@ bool botmode()
|
||||
void addbot(char *arg1, char *arg2, char *arg3)
|
||||
{
|
||||
if(!botmode()) return;
|
||||
conoutf("Creating bot...\n");
|
||||
botent *b = BotManager.CreateBot(arg1, arg2, arg3);
|
||||
if (b) conoutf("connected: %s", b->name);
|
||||
if (b) conoutf("Bot connected: %s", b->name);
|
||||
else { conoutf("Error: Couldn't create bot!"); return; }
|
||||
}
|
||||
COMMAND(addbot, "sss");
|
||||
|
||||
@@ -482,7 +482,7 @@ struct Slot
|
||||
|
||||
vector<Slot> slots;
|
||||
|
||||
void texturereset() { slots.setsize(0); }
|
||||
void texturereset() { if(execcontext==IEXC_MAPCFG) slots.setsize(0); }
|
||||
|
||||
void texture(char *scale, char *name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user