mirror of https://github.com/AxioDL/metaforce.git
Fix PowerBomb radius derp
This commit is contained in:
parent
3d01549af3
commit
9ab8c4cd8b
|
@ -62,25 +62,27 @@ void CPowerBomb::Think(float dt, CStateManager& mgr) {
|
||||||
|
|
||||||
if (x15c_curTime > 2.5f)
|
if (x15c_curTime > 2.5f)
|
||||||
x158_24_canStartFilter = false;
|
x158_24_canStartFilter = false;
|
||||||
} else if (x15c_curTime > 3.75 && x158_25_filterEnabled) {
|
} else {
|
||||||
mgr.GetCameraFilterPass(6).DisableFilter(.5f);
|
if (x15c_curTime > 3.75 && x158_25_filterEnabled) {
|
||||||
x158_25_filterEnabled = false;
|
mgr.GetCameraFilterPass(6).DisableFilter(.5f);
|
||||||
}
|
x158_25_filterEnabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (x15c_curTime > 7.f) {
|
if (x15c_curTime > 7.f) {
|
||||||
if (x168_particle->IsSystemDeletable())
|
if (x168_particle->IsSystemDeletable())
|
||||||
|
mgr.FreeScriptObject(GetUniqueId());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (x15c_curTime > 30.f) {
|
||||||
mgr.FreeScriptObject(GetUniqueId());
|
mgr.FreeScriptObject(GetUniqueId());
|
||||||
}
|
return;
|
||||||
|
}
|
||||||
if (x15c_curTime > 30.f) {
|
|
||||||
mgr.FreeScriptObject(GetUniqueId());
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (x15c_curTime > 1.f && x15c_curTime < 4.f) {
|
if (x15c_curTime > 1.f && x15c_curTime < 4.f) {
|
||||||
x110_origDamageInfo.SetRadius(x160_curRadius);
|
x110_origDamageInfo.SetRadius(x160_curRadius);
|
||||||
ApplyDynamicDamage(GetTranslation(), mgr);
|
ApplyDynamicDamage(GetTranslation(), mgr);
|
||||||
x160_curRadius += x164_radiusIncrement;
|
x160_curRadius += dt * x164_radiusIncrement;
|
||||||
}
|
}
|
||||||
|
|
||||||
x168_particle->Update(dt);
|
x168_particle->Update(dt);
|
||||||
|
|
2
specter
2
specter
|
@ -1 +1 @@
|
||||||
Subproject commit 4cf1da025bc9a3a4e75ed2fbc8f3a8ff77e7ce33
|
Subproject commit 23f70151250ac08c78559ad71bf92e80912e678d
|
Loading…
Reference in New Issue