Jump to content

TheEnd

Member
  • Posts

    185
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by TheEnd

  1. 31 minutes ago, Syreldar said:
    
    #ifdef ENABLE_SASH_SYSTEM
    void CInstanceBase::SetSash(DWORD dwSash)
    {
    	if (!IsPC())
    		return;
    	
    	if (IsPoly())
    		return;
    	
    	dwSash += 85000;
    	ClearSashEffect();
    	
    	float fSpecular = 65.0f;
        ...
    }
    #endif

    substitute with

    
    #ifdef ENABLE_SASH_SYSTEM
    void CInstanceBase::SetSash(DWORD dwSash)
    {
    	if (!IsPC())
    		return;
    	
    	if (IsPoly())
    		return;
    	
    	ClearSashEffect();
    	if (dwSash == 0)
    	{
    		m_GraphicThingInstance.AttachSash(false, 0);
    		return;
    	}
    
    	dwSash += 85000;
    	
    	float fSpecular = 65.0f;
        ...
    }
    #endif

    A problem has been resolved
    thank you so much

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.