mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 14:56:44 +00:00 
			
		
		
		
	Fix for broken unsetRefNum
This commit is contained in:
		
							parent
							
								
									c697142a5d
								
							
						
					
					
						commit
						14923f3e8b
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -5,19 +5,19 @@ | |||
| namespace MWWorld | ||||
| { | ||||
| 
 | ||||
|     ESM::RefNum CellRef::getRefNum() const | ||||
|     const ESM::RefNum& CellRef::getRefNum() const | ||||
|     { | ||||
|         return mCellRef.mRefNum; | ||||
|     } | ||||
| 
 | ||||
|     bool CellRef::hasContentFile() const | ||||
|     { | ||||
|         return getRefNum().hasContentFile(); | ||||
|         return mCellRef.mRefNum.hasContentFile(); | ||||
|     } | ||||
| 
 | ||||
|     void CellRef::unsetRefNum() | ||||
|     { | ||||
|         getRefNum().unset(); | ||||
|         mCellRef.mRefNum.unset(); | ||||
|     } | ||||
| 
 | ||||
|     std::string CellRef::getRefId() const | ||||
|  |  | |||
|  | @ -23,7 +23,7 @@ namespace MWWorld | |||
|         } | ||||
| 
 | ||||
|         // Note: Currently unused for items in containers
 | ||||
|         ESM::RefNum getRefNum() const; | ||||
|         const ESM::RefNum& getRefNum() const; | ||||
| 
 | ||||
|         // Set RefNum to its default state.
 | ||||
|         void unsetRefNum(); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue