- fixed: String comparisons with constants did not work.
This commit is contained in:
parent
fb2a843c03
commit
5151547df0
2 changed files with 7 additions and 0 deletions
|
|
@ -497,6 +497,8 @@ void ZCCCompiler::CreateClassTypes()
|
|||
DPrintf(DMSG_SPAMMY, "Registered %s as native with parent %s\n", me->TypeName.GetChars(), parent->TypeName.GetChars());
|
||||
}
|
||||
c->cls->Type = me;
|
||||
auto ac = dyn_cast<PClassActor>(me);
|
||||
if (ac != nullptr) ac->SourceLumpName = *c->cls->SourceName;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue