replaced some ctors; made PreRender call game function

This commit is contained in:
aap
2019-06-24 22:06:14 +02:00
parent 0b384356f9
commit 3b43c09578
5 changed files with 11 additions and 5 deletions

View File

@ -15,5 +15,7 @@ public:
void ReplaceWithNewModel(int32 id);
virtual bool GetIsATreadable(void) { return false; }
CBuilding *ctor(void) { return ::new (this) CBuilding(); }
};
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");