- Removed the third parameter from dumpclasses when it was restricted it to Actors, because
I have no idea what that was all about. - Got rid of FActorInfo and merged it into a new PClassActor. SVN r2240 (scripting)
This commit is contained in:
parent
7aa402b2a5
commit
f88f601230
78 changed files with 1171 additions and 1039 deletions
|
|
@ -598,7 +598,7 @@ void FDecalLib::ParseGenerator (FScanner &sc)
|
|||
// Get name of generator (actor)
|
||||
sc.MustGetString ();
|
||||
type = PClass::FindClass (sc.String);
|
||||
if (type == NULL || type->ActorInfo == NULL)
|
||||
if (type == NULL || !type->IsKindOf(RUNTIME_CLASS(PClassActor)))
|
||||
{
|
||||
sc.ScriptError ("%s is not an actor.", sc.String);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue