mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
Rename the follow-up upper character state enum
This commit is contained in:
parent
537d5c4934
commit
d5d832846e
@ -448,7 +448,7 @@ bool CharacterController::updateNpcState()
|
||||
if(!animPlaying)
|
||||
{
|
||||
if(mUpperBodyState == UpperCharState_EquipingWeap ||
|
||||
mUpperBodyState == UpperCharState_LargeFollowStartToLargeFollowStop)
|
||||
mUpperBodyState == UpperCharState_FollowStartToFollowStop)
|
||||
mUpperBodyState = UpperCharState_WeapEquiped;
|
||||
else if(mUpperBodyState == UpperCharState_UnEquipingWeap)
|
||||
mUpperBodyState = UpperCharState_Nothing;
|
||||
@ -480,12 +480,7 @@ bool CharacterController::updateNpcState()
|
||||
MWRender::Animation::Group_UpperBody, true,
|
||||
weapSpeed, mAttackType+" large follow start", mAttackType+" large follow stop",
|
||||
0.0f, 0);
|
||||
mUpperBodyState = UpperCharState_LargeFollowStartToLargeFollowStop;
|
||||
}
|
||||
else if(mUpperBodyState == UpperCharState_LargeFollowStartToLargeFollowStop)
|
||||
{
|
||||
mAnimation->disable(mCurrentWeapon);
|
||||
mUpperBodyState = UpperCharState_WeapEquiped;
|
||||
mUpperBodyState = UpperCharState_FollowStartToFollowStop;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -104,11 +104,7 @@ enum UpperBodyCharacterState {
|
||||
UpperCharState_MinAttackToMaxAttack,
|
||||
UpperCharState_MaxAttackToMinHit,
|
||||
UpperCharState_MinHitToHit,
|
||||
UpperCharState_LargeFollowStartToLargeFollowStop,
|
||||
UpperCharState_MediumFollowStartToMediumFollowStop,
|
||||
UpperCharState_SmallFollowStartToSmallFollowStop,
|
||||
UpperCharState_EquipingSpell,
|
||||
UpperCharState_UnEquipingSpell
|
||||
UpperCharState_FollowStartToFollowStop
|
||||
};
|
||||
|
||||
class CharacterController
|
||||
|
Loading…
Reference in New Issue
Block a user