diff --git a/source/src/bot/botmanager.cpp b/source/src/bot/botmanager.cpp index df668012..3834d013 100644 --- a/source/src/bot/botmanager.cpp +++ b/source/src/bot/botmanager.cpp @@ -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"); diff --git a/source/src/texture.cpp b/source/src/texture.cpp index 225ddf9f..87ec95fd 100644 --- a/source/src/texture.cpp +++ b/source/src/texture.cpp @@ -482,7 +482,7 @@ struct Slot vector slots; -void texturereset() { slots.setsize(0); } +void texturereset() { if(execcontext==IEXC_MAPCFG) slots.setsize(0); } void texture(char *scale, char *name) {