be_ai_weap.c: s/move state/weapon state/g

This commit is contained in:
Zack Middleton 2013-02-27 15:39:28 -06:00
parent c7059fbf28
commit 57cb0b2d89
1 changed files with 4 additions and 4 deletions

View File

@ -153,12 +153,12 @@ bot_weaponstate_t *BotWeaponStateFromHandle(int handle)
{
if (handle <= 0 || handle > MAX_CLIENTS)
{
botimport.Print(PRT_FATAL, "move state handle %d out of range\n", handle);
botimport.Print(PRT_FATAL, "weapon state handle %d out of range\n", handle);
return NULL;
} //end if
if (!botweaponstates[handle])
{
botimport.Print(PRT_FATAL, "invalid move state %d\n", handle);
botimport.Print(PRT_FATAL, "invalid weapon state %d\n", handle);
return NULL;
} //end if
return botweaponstates[handle];
@ -483,12 +483,12 @@ void BotFreeWeaponState(int handle)
{
if (handle <= 0 || handle > MAX_CLIENTS)
{
botimport.Print(PRT_FATAL, "move state handle %d out of range\n", handle);
botimport.Print(PRT_FATAL, "weapon state handle %d out of range\n", handle);
return;
} //end if
if (!botweaponstates[handle])
{
botimport.Print(PRT_FATAL, "invalid move state %d\n", handle);
botimport.Print(PRT_FATAL, "invalid weapon state %d\n", handle);
return;
} //end if
BotFreeWeaponWeights(handle);