It would be far simpler to use a naming scheme on the models.
like <name>.animated.b3d and <name>.unanimated.b3d
then you can just check the instring presence of .animated. and use loadanimmesh
but if you do an own level format for example its far simpler to store an extra byte to define that.
like <name>.animated.b3d and <name>.unanimated.b3d
then you can just check the instring presence of .animated. and use loadanimmesh
but if you do an own level format for example its far simpler to store an extra byte to define that.