mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	Fix or lockpicks.
This commit is contained in:
		
							parent
							
								
									766d1efa84
								
							
						
					
					
						commit
						5388c25e64
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -478,8 +478,8 @@ void NpcAnimation::showWeapons(bool showWeapon)
 | 
			
		|||
        mWeapon = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRight);
 | 
			
		||||
        if(mWeapon != inv.end()) // special case for weapons
 | 
			
		||||
        {
 | 
			
		||||
            const ESM::Weapon* weapon = (mWeapon->get<ESM::Weapon>())->mBase;
 | 
			
		||||
            addOrReplaceIndividualPart(ESM::PRT_Weapon,-1,1,"meshes\\"+weapon->mModel);
 | 
			
		||||
            std::string mesh = MWWorld::Class::get(*mWeapon).getModel(*mWeapon);
 | 
			
		||||
            addOrReplaceIndividualPart(ESM::PRT_Weapon,-1,1,mesh);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue