mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Change to prevent crashing when fCurStage is null
This commit is contained in:
@ -326,7 +326,7 @@ bool plAvBrainClimb::IProcessExitStage(double time, float elapsed)
|
|||||||
|
|
||||||
float curBlend = ai->GetBlend();
|
float curBlend = ai->GetBlend();
|
||||||
|
|
||||||
if(curBlend > .99) // reached peak strength
|
if(fCurStage && curBlend > .99) // reached peak strength
|
||||||
{
|
{
|
||||||
fCurStage->Detach(fAvMod); // remove the (now completely masked) underlying anim
|
fCurStage->Detach(fAvMod); // remove the (now completely masked) underlying anim
|
||||||
fCurStage = nil;
|
fCurStage = nil;
|
||||||
|
Reference in New Issue
Block a user