remove old debug (note: FAIL_M(x) is better than ASSERT_M(0, x))
This commit is contained in:
@@ -372,12 +372,6 @@ void BGAnimationLayer::LoadFromNode( const CString& sAniDir_, const XNode& layer
|
|||||||
CHECKPOINT_M( ssprintf( "BGAnimationLayer::LoadFromIni \"%s\" %s",
|
CHECKPOINT_M( ssprintf( "BGAnimationLayer::LoadFromIni \"%s\" %s",
|
||||||
sAniDir.c_str(), m_bGeneric? "(generic) ":"" ) );
|
sAniDir.c_str(), m_bGeneric? "(generic) ":"" ) );
|
||||||
|
|
||||||
{
|
|
||||||
CString sPlayer;
|
|
||||||
if( layer.GetAttrValue("Player", sPlayer) )
|
|
||||||
ASSERT_M( 0, "The BGAnimation parameter 'Player' is deprecated. Please use 'Condition=IsPlayerEnabled(p)'." );
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
{
|
||||||
CString expr;
|
CString expr;
|
||||||
if( layer.GetAttrValue("Cond",expr) || layer.GetAttrValue("Condition",expr) )
|
if( layer.GetAttrValue("Cond",expr) || layer.GetAttrValue("Condition",expr) )
|
||||||
|
|||||||
Reference in New Issue
Block a user