- Backported the classnames-are-names changes from the FP code.
SVN r97 (trunk)
This commit is contained in:
parent
632e03fa7e
commit
d878c2e7d6
108 changed files with 1476 additions and 1053 deletions
|
|
@ -557,7 +557,7 @@ static void GenericParse (FGenericParse *parser, const char **keywords,
|
|||
bool notdone = true;
|
||||
int keyword;
|
||||
int val;
|
||||
const TypeInfo *info;
|
||||
const PClass *info;
|
||||
|
||||
do
|
||||
{
|
||||
|
|
@ -598,7 +598,7 @@ static void GenericParse (FGenericParse *parser, const char **keywords,
|
|||
}
|
||||
else
|
||||
{
|
||||
info = TypeInfo::IFindType (sc_String);
|
||||
info = PClass::FindClass (sc_String);
|
||||
if (!info->IsDescendantOf (RUNTIME_CLASS(AActor)))
|
||||
{
|
||||
Printf ("%s is not an Actor (in %s %s)\n",
|
||||
|
|
@ -611,7 +611,7 @@ static void GenericParse (FGenericParse *parser, const char **keywords,
|
|||
sc_String, type, name.GetChars());
|
||||
}
|
||||
}
|
||||
SET_FIELD (const TypeInfo *, info);
|
||||
SET_FIELD (const PClass *, info);
|
||||
break;
|
||||
|
||||
case GEN_Splash:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue