mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 07:56:37 +00:00 
			
		
		
		
	Issue #356: added a missing return
This commit is contained in:
		
							parent
							
								
									9de7b3bf90
								
							
						
					
					
						commit
						2ccd7a480d
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -142,6 +142,8 @@ namespace MWMechanics | |||
|              | ||||
|             result.first.list.push_back (effect); | ||||
|             result.second = true; | ||||
|              | ||||
|             return result; | ||||
|         } | ||||
| 
 | ||||
|         throw std::runtime_error ("ID " + id + " can not produce lasting effects"); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue