mirror of https://github.com/AxioDL/metaforce.git
CPowerBomb: zeus doesn't have GetTranslation for CTransform
This commit is contained in:
parent
74509d2a4a
commit
4c1435d6e2
|
@ -475,7 +475,7 @@ void CCameraManager::UpdateCameraHints(float, CStateManager& mgr) {
|
|||
}
|
||||
|
||||
void CCameraManager::ThinkCameras(float dt, CStateManager& mgr) {
|
||||
CGameCameraList gcList = mgr.GetCameraObjectList();
|
||||
CGameCameraList& gcList = mgr.GetCameraObjectList();
|
||||
|
||||
for (CEntity* ent : gcList) {
|
||||
if (const TCastToPtr<CGameCamera> gc = ent) {
|
||||
|
|
|
@ -28,7 +28,7 @@ CPowerBomb::CPowerBomb(const TToken<CGenDescription>& particle, TUniqueId uid, T
|
|||
, x164_radiusIncrement(dInfo.GetRadius() / 2.5f)
|
||||
, x168_particle(std::make_unique<CElementGen>(particle))
|
||||
, x16c_radius(dInfo.GetRadius()) {
|
||||
x168_particle->SetGlobalTranslation(xf.GetTranslation());
|
||||
x168_particle->SetGlobalTranslation(xf.origin); //.GetTranslation());
|
||||
}
|
||||
|
||||
void CPowerBomb::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
||||
|
|
Loading…
Reference in New Issue