CPowerBomb: zeus doesn't have GetTranslation for CTransform

This commit is contained in:
Phillip Stephens 2022-11-16 13:42:46 -08:00
parent 74509d2a4a
commit 4c1435d6e2
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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); }