- removed the implicit conversion operators from FName.
These were creating dangerous interdependencies. It is better to do explicit conversions when needed. As an added plus, this means that zstring.h no longer depends on name.h which was very annoying.
This commit is contained in:
parent
6996d54a23
commit
ace3e29473
57 changed files with 184 additions and 200 deletions
|
|
@ -893,13 +893,13 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, isTeammate, isTeammate)
|
|||
|
||||
static int GetSpecies(AActor *self)
|
||||
{
|
||||
return self->GetSpecies();
|
||||
return self->GetSpecies().GetIndex();
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, GetSpecies, GetSpecies)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
ACTION_RETURN_INT(self->GetSpecies());
|
||||
ACTION_RETURN_INT(GetSpecies(self));
|
||||
}
|
||||
|
||||
static int isFriend(AActor *self, AActor *other)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue