mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-10 15:25:53 +00:00
Fix possible cast failure
This commit is contained in:
parent
59e4d9df13
commit
d3205718f2
@ -169,6 +169,7 @@ struct MAPA : BigDNA
|
||||
SaveStation = 34,
|
||||
MissileStation = 37
|
||||
};
|
||||
virtual ~IMappableObject() {}
|
||||
};
|
||||
|
||||
struct MappableObjectMP1_2 : IMappableObject
|
||||
@ -180,6 +181,7 @@ struct MAPA : BigDNA
|
||||
Seek<DNA_COUNT(4), Athena::Current> seek1;
|
||||
Value<atVec4f> transformMtx[3];
|
||||
Seek<DNA_COUNT(0x10), Athena::Current> seek2;
|
||||
virtual ~MappableObjectMP1_2() {}
|
||||
};
|
||||
|
||||
struct MappableObjectMP3 : IMappableObject
|
||||
@ -192,6 +194,7 @@ struct MAPA : BigDNA
|
||||
Seek<DNA_COUNT(4), Athena::Current> seek1;
|
||||
Value<atVec4f> transformMtx[3];
|
||||
Seek<DNA_COUNT(0x10), Athena::Current> seek2;
|
||||
virtual ~MappableObjectMP3() {}
|
||||
};
|
||||
|
||||
std::vector<std::unique_ptr<IMappableObject>> mappableObjects;
|
||||
|
Loading…
x
Reference in New Issue
Block a user