refactor: reformat the code
This commit is contained in:
parent
79320802bb
commit
009bdf2f3e
15 changed files with 852 additions and 850 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
# Auto detect text files and perform LF normalization
|
# Auto detect text files and perform LF normalization
|
||||||
* text=lf
|
* text=lf
|
||||||
|
* text eol=lf
|
||||||
|
|
||||||
# Custom for Visual Studio
|
# Custom for Visual Studio
|
||||||
*.sln merge=union
|
*.sln merge=union
|
||||||
|
|
|
||||||
|
|
@ -2183,7 +2183,8 @@ void Bot::checkGrenadesThrow () {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Weapon::Flashbang: {
|
case Weapon::Flashbang:
|
||||||
|
{
|
||||||
const int nearest = graph.getNearest (m_lastEnemy->v.velocity.get2d () + m_lastEnemy->v.origin);
|
const int nearest = graph.getNearest (m_lastEnemy->v.velocity.get2d () + m_lastEnemy->v.origin);
|
||||||
|
|
||||||
if (nearest != kInvalidNodeIndex) {
|
if (nearest != kInvalidNodeIndex) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue