mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 11:56:39 +00:00 
			
		
		
		
	Fix creature attacking flag not being reset after the attack starts (Fixes #1889)
This commit is contained in:
		
							parent
							
								
									457b96a8af
								
							
						
					
					
						commit
						a9847c9453
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -716,6 +716,7 @@ bool CharacterController::updateCreatureState()
 | 
				
			||||||
                             0.0f, 0);
 | 
					                             0.0f, 0);
 | 
				
			||||||
            mUpperBodyState = UpperCharState_StartToMinAttack;
 | 
					            mUpperBodyState = UpperCharState_StartToMinAttack;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        stats.setAttackingOrSpell(false);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    bool animPlaying = mAnimation->getInfo(mCurrentWeapon);
 | 
					    bool animPlaying = mAnimation->getInfo(mCurrentWeapon);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue