mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 02:56:39 +00:00 
			
		
		
		
	Always add xbase_anim
This commit is contained in:
		
							parent
							
								
									24ae9f4ac1
								
							
						
					
					
						commit
						2b38d10449
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -474,7 +474,12 @@ void NpcAnimation::updateNpcBase()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if(mViewMode != VM_FirstPerson)
 | 
					    if(mViewMode != VM_FirstPerson)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        const std::string base = "meshes\\xbase_anim.nif";
 | 
				
			||||||
 | 
					        if (smodel != base)
 | 
				
			||||||
 | 
					            addAnimSource(base);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        addAnimSource(smodel);
 | 
					        addAnimSource(smodel);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if(!isWerewolf)
 | 
					        if(!isWerewolf)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if(Misc::StringUtils::lowerCase(mNpc->mRace).find("argonian") != std::string::npos)
 | 
					            if(Misc::StringUtils::lowerCase(mNpc->mRace).find("argonian") != std::string::npos)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue