mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:47:43 +00:00
Fix PowerBomb radius derp
This commit is contained in:
@@ -62,25 +62,27 @@ void CPowerBomb::Think(float dt, CStateManager& mgr) {
|
||||
|
||||
if (x15c_curTime > 2.5f)
|
||||
x158_24_canStartFilter = false;
|
||||
} else if (x15c_curTime > 3.75 && x158_25_filterEnabled) {
|
||||
mgr.GetCameraFilterPass(6).DisableFilter(.5f);
|
||||
x158_25_filterEnabled = false;
|
||||
}
|
||||
} else {
|
||||
if (x15c_curTime > 3.75 && x158_25_filterEnabled) {
|
||||
mgr.GetCameraFilterPass(6).DisableFilter(.5f);
|
||||
x158_25_filterEnabled = false;
|
||||
}
|
||||
|
||||
if (x15c_curTime > 7.f) {
|
||||
if (x168_particle->IsSystemDeletable())
|
||||
if (x15c_curTime > 7.f) {
|
||||
if (x168_particle->IsSystemDeletable())
|
||||
mgr.FreeScriptObject(GetUniqueId());
|
||||
}
|
||||
|
||||
if (x15c_curTime > 30.f) {
|
||||
mgr.FreeScriptObject(GetUniqueId());
|
||||
}
|
||||
|
||||
if (x15c_curTime > 30.f) {
|
||||
mgr.FreeScriptObject(GetUniqueId());
|
||||
return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (x15c_curTime > 1.f && x15c_curTime < 4.f) {
|
||||
x110_origDamageInfo.SetRadius(x160_curRadius);
|
||||
ApplyDynamicDamage(GetTranslation(), mgr);
|
||||
x160_curRadius += x164_radiusIncrement;
|
||||
x160_curRadius += dt * x164_radiusIncrement;
|
||||
}
|
||||
|
||||
x168_particle->Update(dt);
|
||||
|
||||
Reference in New Issue
Block a user