- split up PClass::Derive and its child functions because part of them is also needed when initializing an inherited native class with the properties of its parent - but calling the base version in PClass is not possible.
- moved a few AActor properties out of the EXE so that I could easily test if it works.
This commit is contained in:
parent
b484cbf18a
commit
6ce0c9f78e
12 changed files with 29 additions and 29 deletions
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
IMPLEMENT_CLASS(PClassPuzzleItem)
|
||||
|
||||
void PClassPuzzleItem::Derive(PClass *newclass)
|
||||
void PClassPuzzleItem::DeriveData(PClass *newclass)
|
||||
{
|
||||
Super::Derive(newclass);
|
||||
Super::DeriveData(newclass);
|
||||
assert(newclass->IsKindOf(RUNTIME_CLASS(PClassPuzzleItem)));
|
||||
static_cast<PClassPuzzleItem *>(newclass)->PuzzFailMessage = PuzzFailMessage;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue