Fixed isDeadlyMove method
This commit is contained in:
parent
280ce6fbb7
commit
1f6fc16fe4
1 changed files with 1 additions and 1 deletions
|
|
@ -2662,7 +2662,7 @@ bool Bot::isDeadlyMove (const Vector &to) {
|
||||||
}
|
}
|
||||||
|
|
||||||
while (distance > 30.0f) {
|
while (distance > 30.0f) {
|
||||||
check = check + direction * 30.0f; // move 10 units closer to the goal...
|
check = check - direction * 30.0f; // move 10 units closer to the goal...
|
||||||
|
|
||||||
down = check;
|
down = check;
|
||||||
down.z -= 1000.0f; // straight down 1000 units
|
down.z -= 1000.0f; // straight down 1000 units
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue