mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-29 11:43:05 +00:00
Rename updateState back into updateWeaponState
This commit is contained in:
parent
4f9bcfd3f5
commit
8005d3ca25
2 changed files with 3 additions and 3 deletions
|
|
@ -1110,7 +1110,7 @@ bool CharacterController::updateCarriedLeftVisible(const int weaptype) const
|
|||
return mAnimation->updateCarriedLeftVisible(weaptype);
|
||||
}
|
||||
|
||||
bool CharacterController::updateState(CharacterState idle)
|
||||
bool CharacterController::updateWeaponState(CharacterState idle)
|
||||
{
|
||||
const auto world = MWBase::Environment::get().getWorld();
|
||||
auto& prng = world->getPrng();
|
||||
|
|
@ -2253,7 +2253,7 @@ void CharacterController::update(float duration)
|
|||
|
||||
if (!mSkipAnim)
|
||||
{
|
||||
refreshCurrentAnims(idlestate, movestate, jumpstate, updateState(idlestate));
|
||||
refreshCurrentAnims(idlestate, movestate, jumpstate, updateWeaponState(idlestate));
|
||||
updateIdleStormState(inwater);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ class CharacterController : public MWRender::Animation::TextKeyListener
|
|||
|
||||
void clearAnimQueue(bool clearPersistAnims = false);
|
||||
|
||||
bool updateState(CharacterState idle);
|
||||
bool updateWeaponState(CharacterState idle);
|
||||
void updateIdleStormState(bool inwater) const;
|
||||
|
||||
std::string chooseRandomAttackAnimation() const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue