@@ -622,20 +622,7 @@ void CActor::g_SetAnimation( u32 mstate_rl )
622
622
#ifdef DEBUG
623
623
if ((Level ().CurrentControlEntity () == this ) && g_ShowAnimationInfo) {
624
624
string128 buf;
625
- xr_strcpy (buf," " );
626
- if (isActorAccelerated (mstate_rl, IsZoomAimingMode ())) xr_strcat (buf," Accel " );
627
- if (mstate_rl&mcCrouch) xr_strcat (buf," Crouch " );
628
- if (mstate_rl&mcFwd) xr_strcat (buf," Fwd " );
629
- if (mstate_rl&mcBack) xr_strcat (buf," Back " );
630
- if (mstate_rl&mcLStrafe) xr_strcat (buf," LStrafe " );
631
- if (mstate_rl&mcRStrafe) xr_strcat (buf," RStrafe " );
632
- if (mstate_rl&mcJump) xr_strcat (buf," Jump " );
633
- if (mstate_rl&mcFall) xr_strcat (buf," Fall " );
634
- if (mstate_rl&mcTurn) xr_strcat (buf," Turn " );
635
- if (mstate_rl&mcLanding) xr_strcat (buf," Landing " );
636
- if (mstate_rl&mcLLookout) xr_strcat (buf," LLookout " );
637
- if (mstate_rl&mcRLookout) xr_strcat (buf," RLookout " );
638
- if (m_bJumpKeyPressed) xr_strcat (buf," +Jumping " );
625
+ ConvState (mstate_rl, &buf);
639
626
UI ().Font ().pFontStat ->OutNext (" MSTATE: [%s]" ,buf);
640
627
/*
641
628
switch (m_PhysicMovementControl->Environment())
0 commit comments