mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-13 18:17:49 -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();
|
||||
|
||||
if(curBlend > .99) // reached peak strength
|
||||
if(fCurStage && curBlend > .99) // reached peak strength
|
||||
{
|
||||
fCurStage->Detach(fAvMod); // remove the (now completely masked) underlying anim
|
||||
fCurStage = nil;
|
||||
|
Reference in New Issue
Block a user