mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 17:26:42 +00:00 
			
		
		
		
	override eraseStatic for dialogue
This commit is contained in:
		
							parent
							
								
									13a0b3bf5a
								
							
						
					
					
						commit
						3d3ffdfcd8
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -1091,6 +1091,18 @@ namespace MWWorld | |||
|         return RecordId(dialogue.mId, isDeleted); | ||||
|     } | ||||
| 
 | ||||
|     template<> | ||||
|     bool Store<ESM::Dialogue>::eraseStatic(const std::string &id) | ||||
|     { | ||||
|         auto it = mStatic.find(Misc::StringUtils::lowerCase(id)); | ||||
| 
 | ||||
|         if (it != mStatic.end() && Misc::StringUtils::ciEqual(it->second.mId, id)) { | ||||
|             mStatic.erase(it); | ||||
|         } | ||||
| 
 | ||||
|         return true; | ||||
|     } | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| template class MWWorld::Store<ESM::Activator>; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue