Browse Source

Silence unneeded assertion.

Adam Johnson 11 years ago
parent
commit
55d3f10310
  1. 5
      Sources/Tools/MaxPlasmaMtls/Materials/plPassMtlBase.cpp

5
Sources/Tools/MaxPlasmaMtls/Materials/plPassMtlBase.cpp

@ -410,10 +410,7 @@ RefTargetHandle plPassMtlBase::GetReference( int i )
{
if( i >= kRefNotetracks && i < kRefNotetracks + fNotetracks.GetCount() )
return fNotetracks[ i - kRefNotetracks ];
else
hsAssert(false, "shit");
return nil;
return nullptr;
}
//// SetReference ////////////////////////////////////////////////////////////

Loading…
Cancel
Save