mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 11:26:37 +00:00 
			
		
		
		
	Merge pull request #1022 from Allofich/anim
Make loopgroup loop correct number of times
This commit is contained in:
		
						commit
						c3340ec143
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -89,7 +89,7 @@ namespace MWScript | ||||||
|                             throw std::runtime_error ("animation mode out of range"); |                             throw std::runtime_error ("animation mode out of range"); | ||||||
|                     } |                     } | ||||||
| 
 | 
 | ||||||
|                     MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops, true); |                     MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops + 1, true); | ||||||
|                } |                } | ||||||
|         }; |         }; | ||||||
|          |          | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue