Jump to content

GF Pet system binary error


Recommended Posts

Hello guy's!

 

I have a problem when i'm compile the binary.

The problem is here:

#ifdef NEW_PET_SYSTEM
BOOL CInstanceBase::IsNewPet()
{
	return m_GraphicThingInstance.IsNewPet();
}
#endi

Error message:

IntelliSense: class "CActorInstance" has no member "IsNewPet"
error C2039: 'IsNewPet' : is not a member of 'CActorInstance!

I add this to Instancebase.h

#ifdef NEW_PET_SYSTEM
		BOOL					IsNewPet();
#endif

Thanks for helping.

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Silver
5 hours ago, mikilh50 said:

Hello guy's!

 

I have a problem when i'm compile the binary.

The problem is here:


#ifdef NEW_PET_SYSTEM
BOOL CInstanceBase::IsNewPet()
{
	return m_GraphicThingInstance.IsNewPet();
}
#endi

Error message:


IntelliSense: class "CActorInstance" has no member "IsNewPet"
error C2039: 'IsNewPet' : is not a member of 'CActorInstance!

I add this to Instancebase.h


#ifdef NEW_PET_SYSTEM
		BOOL					IsNewPet();
#endif

Thanks for helping.

InstanceBase.cpp

InstanceBase.h

InstanceBaseEffect.cpp

What you did wrong is you pasted the function wrong. It should end with "#endif" but you wrote "#endi" ;) 

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