Correct order for ~CScriptPickupGenerator

Former-commit-id: 8aaf207191
This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-30 22:15:15 +02:00
parent 41f47c198d
commit b8b95d04c5
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class CScriptPickupGenerator : public CEntity {
public:
CScriptPickupGenerator(TUniqueId, const rstl::string&, const CEntityInfo&, const CVector3f&,
float, bool);
~CScriptPickupGenerator();
void Accept(IVisitor& visitor) override;
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender,

View File

@ -17,6 +17,8 @@ CScriptPickupGenerator::CScriptPickupGenerator(TUniqueId uid, const rstl::string
ResetDelayTimer();
}
CScriptPickupGenerator::~CScriptPickupGenerator() {}
void CScriptPickupGenerator::GetGeneratorIds(CStateManager& mgr, TUniqueId sender,
rstl::vector< TUniqueId >& idsOut) const {
idsOut.reserve(rstl::max_val(1, GetConnectionList().size()));