Fixed typo in BOTLIB files

This commit is contained in:
BidyBiddle 2021-10-12 16:12:34 +02:00
parent 26780805c8
commit 8a5a51aba4
5 changed files with 5 additions and 5 deletions

View file

@ -222,7 +222,7 @@ bot_character_t *BotLoadCharacterFromFile(char *charfile, int skill)
source = LoadSourceFile(charfile); source = LoadSourceFile(charfile);
if (!source) if (!source)
{ {
botimport.Print(PRT_ERROR, "counldn't load %s\n", charfile); botimport.Print(PRT_ERROR, "couldn't load %s\n", charfile);
return NULL; return NULL;
} //end if } //end if
ch = (bot_character_t *) GetClearedMemory(sizeof(bot_character_t) + ch = (bot_character_t *) GetClearedMemory(sizeof(bot_character_t) +

View file

@ -629,7 +629,7 @@ bot_synonymlist_t *BotLoadSynonyms(char *filename)
source = LoadSourceFile(filename); source = LoadSourceFile(filename);
if (!source) if (!source)
{ {
botimport.Print(PRT_ERROR, "counldn't load %s\n", filename); botimport.Print(PRT_ERROR, "couldn't load %s\n", filename);
return NULL; return NULL;
} //end if } //end if
// //

View file

@ -288,7 +288,7 @@ itemconfig_t *LoadItemConfig(char *filename)
PC_SetBaseFolder(BOTFILESBASEFOLDER); PC_SetBaseFolder(BOTFILESBASEFOLDER);
source = LoadSourceFile( path ); source = LoadSourceFile( path );
if( !source ) { if( !source ) {
botimport.Print( PRT_ERROR, "counldn't load %s\n", path ); botimport.Print( PRT_ERROR, "couldn't load %s\n", path );
return NULL; return NULL;
} //end if } //end if
//initialize item config //initialize item config

View file

@ -224,7 +224,7 @@ weaponconfig_t *LoadWeaponConfig(char *filename)
source = LoadSourceFile(path); source = LoadSourceFile(path);
if (!source) if (!source)
{ {
botimport.Print(PRT_ERROR, "counldn't load %s\n", path); botimport.Print(PRT_ERROR, "couldn't load %s\n", path);
return NULL; return NULL;
} //end if } //end if
//initialize weapon config //initialize weapon config

View file

@ -327,7 +327,7 @@ weightconfig_t *ReadWeightConfig(char *filename)
source = LoadSourceFile(filename); source = LoadSourceFile(filename);
if (!source) if (!source)
{ {
botimport.Print(PRT_ERROR, "counldn't load %s\n", filename); botimport.Print(PRT_ERROR, "couldn't load %s\n", filename);
return NULL; return NULL;
} //end if } //end if
// //