Fix crash with PT_SQUASH
parent
0de187b084
commit
aaf9d8f851
|
@ -42,5 +42,8 @@ void CSquashPyro::UpdateEffect()
|
||||||
|
|
||||||
void CSquashPyro::AfterEnd()
|
void CSquashPyro::AfterEnd()
|
||||||
{
|
{
|
||||||
m_object->SetType(OBJECT_PLANT19);
|
if ( m_object != nullptr )
|
||||||
|
{
|
||||||
|
m_object->SetType(OBJECT_PLANT19);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue