Fix crash with TRANInv

CTweakParticle
This commit is contained in:
Phillip Stephens 2015-09-23 12:01:12 -07:00
parent b1f55c2733
commit b65ac4e9f8
3 changed files with 9 additions and 3 deletions

View File

@ -8,9 +8,14 @@ namespace Retro
namespace DNAMP1
{
class CTweakParticle : BigYAML
struct CTweakParticle : BigYAML
{
DECL_YAML
String<-1> m_particle;
String<-1> m_powerBeam;
String<-1> m_genThrust;
CTweakParticle(Athena::io::IStreamReader& reader) { this->read(reader); }
};
}

View File

@ -5,7 +5,8 @@ namespace Retro
namespace MP1
{
CTweakParticle::CTweakParticle(CInputStream&)
CTweakParticle::CTweakParticle(CInputStream& reader)
: DNAMP1::CTweakParticle(reader)
{
}

View File

@ -12,7 +12,7 @@ namespace MP1
class CTweakParticle : DNAMP1::CTweakParticle
{
public:
CTweakParticle(CInputStream&);
CTweakParticle(CInputStream& reader);
};
}