Jump to content
×
×
  • Create New...
  • 0

GF Pet system binary error


mikilh50

Question

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

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
  • Premium
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.