Skip to content

Commit

Permalink
Delete duplicated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Oct 21, 2015
1 parent b6d698a commit 260833c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/xrGame/ActorAnimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,20 +622,7 @@ void CActor::g_SetAnimation( u32 mstate_rl )
#ifdef DEBUG
if ((Level().CurrentControlEntity() == this) && g_ShowAnimationInfo) {
string128 buf;
xr_strcpy(buf,"");
if (isActorAccelerated(mstate_rl, IsZoomAimingMode())) xr_strcat(buf,"Accel ");
if (mstate_rl&mcCrouch) xr_strcat(buf,"Crouch ");
if (mstate_rl&mcFwd) xr_strcat(buf,"Fwd ");
if (mstate_rl&mcBack) xr_strcat(buf,"Back ");
if (mstate_rl&mcLStrafe) xr_strcat(buf,"LStrafe ");
if (mstate_rl&mcRStrafe) xr_strcat(buf,"RStrafe ");
if (mstate_rl&mcJump) xr_strcat(buf,"Jump ");
if (mstate_rl&mcFall) xr_strcat(buf,"Fall ");
if (mstate_rl&mcTurn) xr_strcat(buf,"Turn ");
if (mstate_rl&mcLanding) xr_strcat(buf,"Landing ");
if (mstate_rl&mcLLookout) xr_strcat(buf,"LLookout ");
if (mstate_rl&mcRLookout) xr_strcat(buf,"RLookout ");
if (m_bJumpKeyPressed) xr_strcat(buf,"+Jumping ");
ConvState(mstate_rl, &buf);
UI().Font().pFontStat->OutNext ("MSTATE: [%s]",buf);
/*
switch (m_PhysicMovementControl->Environment())
Expand Down

0 comments on commit 260833c

Please sign in to comment.