mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	Merge branch 'seducer_ice_queen' into 'master'
Prevent a missing weapon animation from partially freezing actors See merge request OpenMW/openmw!1060
This commit is contained in:
		
						commit
						292e6f1a9e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1661,7 +1661,8 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
 | 
			
		|||
                                 MWRender::Animation::BlendMask_All, false,
 | 
			
		||||
                                 weapSpeed, startKey, stopKey,
 | 
			
		||||
                                 0.0f, 0);
 | 
			
		||||
                mUpperBodyState = UpperCharState_StartToMinAttack;
 | 
			
		||||
                if(mAnimation->isPlaying(mCurrentWeapon))
 | 
			
		||||
                    mUpperBodyState = UpperCharState_StartToMinAttack;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue