Jump to content

problem in System scale -Acce


Go to solution Solved by Syreldar,

Recommended Posts

  • Premium

Show me your SetAcce function in InstanceBase.cpp

 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
  • Solution
#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

 

  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • Premium

No problem.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.