mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 08:08:02 +00:00
utils: mdldec: qc.c: put controller name instead of index for mouth controller.
This commit is contained in:
parent
16db8a8008
commit
64c5d141af
@ -390,8 +390,15 @@ static void WriteControllerInfo( FILE *fp )
|
|||||||
|
|
||||||
GetMotionTypeString( bonecontroller->type & ~STUDIO_RLOOP, motion_types, sizeof( motion_types ), false );
|
GetMotionTypeString( bonecontroller->type & ~STUDIO_RLOOP, motion_types, sizeof( motion_types ), false );
|
||||||
|
|
||||||
fprintf( fp, "$controller %i \"%s\" %s %f %f\n",
|
fputs( "$controller ", fp );
|
||||||
bonecontroller->index, bone->name, motion_types,
|
|
||||||
|
if( bonecontroller->index == 4 )
|
||||||
|
fputs( "Mouth", fp );
|
||||||
|
else
|
||||||
|
fprintf( fp, "%i", bonecontroller->index );
|
||||||
|
|
||||||
|
fprintf( fp, " \"%s\" %s %f %f\n",
|
||||||
|
bone->name, motion_types,
|
||||||
bonecontroller->start, bonecontroller->end );
|
bonecontroller->start, bonecontroller->end );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user