fix: bot: some static-analyzer warnings fixed
This commit is contained in:
parent
2928ba34fd
commit
64aa02955c
3 changed files with 2 additions and 5 deletions
|
|
@ -1836,7 +1836,7 @@ void BotGraph::frame () {
|
|||
m_learnPosition = m_editor->v.origin;
|
||||
}
|
||||
}
|
||||
else if (((m_editor->v.flags & FL_ONGROUND) || m_editor->v.movetype == MOVETYPE_FLY) && m_timeJumpStarted + 0.1f < game.time () && m_endJumpPoint) {
|
||||
else if (((m_editor->v.flags & FL_ONGROUND) || m_editor->v.movetype == MOVETYPE_FLY) && m_timeJumpStarted + 0.1f < game.time ()) {
|
||||
add (NodeAddFlag::JumpEnd);
|
||||
|
||||
m_jumpLearnNode = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue