(minor English issues, most of which are via /dev/humancontroller)
This commit is contained in:
Zachary Slater 2011-02-09 05:51:33 +00:00
parent 476e35f50e
commit 5e0d0efd2e
18 changed files with 26 additions and 26 deletions

View file

@ -1352,7 +1352,7 @@ void BotClearPath(bot_state_t *bs, bot_moveresult_t *moveresult) {
moveresult->flags |= MOVERESULT_MOVEMENTWEAPON | MOVERESULT_MOVEMENTVIEW;
// if holding the right weapon
if (bs->cur_ps.weapon == moveresult->weapon) {
// if the bot is pretty close with it's aim
// if the bot is pretty close with its aim
if (InFieldOfVision(bs->viewangles, 20, moveresult->ideal_viewangles)) {
//
BotAI_Trace(&bsptrace, bs->eye, NULL, NULL, target, bs->entitynum, MASK_SHOT);
@ -1409,7 +1409,7 @@ void BotClearPath(bot_state_t *bs, bot_moveresult_t *moveresult) {
moveresult->flags |= MOVERESULT_MOVEMENTWEAPON | MOVERESULT_MOVEMENTVIEW;
// if holding the right weapon
if (bs->cur_ps.weapon == moveresult->weapon) {
// if the bot is pretty close with it's aim
// if the bot is pretty close with its aim
if (InFieldOfVision(bs->viewangles, 20, moveresult->ideal_viewangles)) {
//
BotAI_Trace(&bsptrace, bs->eye, NULL, NULL, target, bs->entitynum, MASK_SHOT);
@ -1495,7 +1495,7 @@ int AINode_Seek_ActivateEntity(bot_state_t *bs) {
if (bs->cur_ps.weapon == bs->activatestack->weapon) {
VectorSubtract(bs->activatestack->target, bs->eye, dir);
vectoangles(dir, ideal_viewangles);
// if the bot is pretty close with it's aim
// if the bot is pretty close with its aim
if (InFieldOfVision(bs->viewangles, 20, ideal_viewangles)) {
trap_EA_Attack(bs->client);
}