From 55d3f10310bb8f0d9934a153c8e9f4a8f234d0fd Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Thu, 5 Dec 2013 01:37:08 -0500 Subject: [PATCH] Silence unneeded assertion. --- Sources/Tools/MaxPlasmaMtls/Materials/plPassMtlBase.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/Tools/MaxPlasmaMtls/Materials/plPassMtlBase.cpp b/Sources/Tools/MaxPlasmaMtls/Materials/plPassMtlBase.cpp index fca882e5..5950a892 100644 --- a/Sources/Tools/MaxPlasmaMtls/Materials/plPassMtlBase.cpp +++ b/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 ////////////////////////////////////////////////////////////