Skip to content

Commit

Permalink
be_ai_weap.c: s/move state/weapon state/g
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Feb 27, 2013
1 parent c7059fb commit 57cb0b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/botlib/be_ai_weap.c
Expand Up @@ -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];
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 57cb0b2

Please sign in to comment.