initial commit

change the macro to use the refactor (exact same structure as the imageasset macro)
This commit is contained in:
marauder2k7 2025-06-19 13:34:07 +01:00
parent 61a75ada1e
commit ca1604170d
29 changed files with 700 additions and 457 deletions

View file

@ -144,11 +144,11 @@ bool ProximityMineData::preload( bool server, String& errorStr )
}
}
if ( mShape )
if ( getShape() )
{
// Lookup animation sequences
armingSequence = mShape->findSequence( "armed" );
triggerSequence = mShape->findSequence( "triggered" );
armingSequence = getShape()->findSequence( "armed" );
triggerSequence = getShape()->findSequence( "triggered" );
}
return true;