style cleanup; when commiting, please diff and try to remove unrelated
changes
This commit is contained in:
@@ -128,12 +128,10 @@ DancingCharacters::DancingCharacters()
|
|||||||
if( pChar->GetModelPath().empty() )
|
if( pChar->GetModelPath().empty() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if( GAMESTATE->GetNumPlayersEnabled()==2 ) {
|
if( GAMESTATE->GetNumPlayersEnabled()==2 )
|
||||||
m_Character[p].SetX( MODEL_X_TWO_PLAYERS[p] );
|
m_Character[p].SetX( MODEL_X_TWO_PLAYERS[p] );
|
||||||
}
|
else
|
||||||
else {
|
|
||||||
m_Character[p].SetX( MODEL_X_ONE_PLAYER );
|
m_Character[p].SetX( MODEL_X_ONE_PLAYER );
|
||||||
}
|
|
||||||
|
|
||||||
switch( GAMESTATE->m_PlayMode )
|
switch( GAMESTATE->m_PlayMode )
|
||||||
{
|
{
|
||||||
@@ -178,8 +176,8 @@ void DancingCharacters::Update( float fDelta )
|
|||||||
if( GAMESTATE->m_bFreeze )
|
if( GAMESTATE->m_bFreeze )
|
||||||
{
|
{
|
||||||
// spin the camera Matrix style
|
// spin the camera Matrix style
|
||||||
//m_CameraPanYStart += fDelta*40;
|
m_CameraPanYStart += fDelta*40;
|
||||||
//m_CameraPanYEnd += fDelta*40;
|
m_CameraPanYEnd += fDelta*40;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -194,9 +192,8 @@ void DancingCharacters::Update( float fDelta )
|
|||||||
|
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
{
|
{
|
||||||
if( GAMESTATE->IsPlayerEnabled(p) ) {
|
if( GAMESTATE->IsPlayerEnabled(p) )
|
||||||
m_Character[p].Update( fDelta*fUpdateScale );
|
m_Character[p].Update( fDelta*fUpdateScale );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user