Skip to content

Commit

Permalink
Fix for issue #3505.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.thedarkmod.com/svn/darkmod_src/trunk@5836 49c82d7f-2e2a-0410-a16f-ae8f201b507f
  • Loading branch information
grayman committed Aug 4, 2013
1 parent dc90f2b commit 1afe04f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions game/ai/States/IdleState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ void IdleState::Init(idAI* owner)
return;
}

owner->SheathWeapon();

// Memory shortcut
Memory& memory = owner->GetMemory();

Expand Down Expand Up @@ -172,6 +170,9 @@ void IdleState::Init(idAI* owner)
);
}

// grayman #3505 - can't sheathe weapon until after the Idle anims were requested
owner->SheathWeapon();

// Let the AI update their weapons (make them nonsolid)
owner->UpdateAttachmentContents(false);
}
Expand Down

0 comments on commit 1afe04f

Please sign in to comment.