mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:56:39 +00:00 
			
		
		
		
	Fix potential infinite loop when layer 0 is empty
This commit is contained in:
		
							parent
							
								
									76c8e81908
								
							
						
					
					
						commit
						9be20b90f1
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -228,7 +228,10 @@ void Animation::updateActiveControllers() | |||
|             } | ||||
|         } | ||||
|         if(ctrls == NULL) | ||||
|         { | ||||
|             layer++; | ||||
|             continue; | ||||
|         } | ||||
| 
 | ||||
|         /* Check if any objectlists are active on subsequent layers. Include
 | ||||
|          * those layers if not. | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue