clean up STYLE_TECHNO_VERSUS8 hack: Sprite really should not
be depending on GameState
This commit is contained in:
@@ -12,9 +12,6 @@
|
||||
#include "SDL_utils.h"
|
||||
#include "ActorUtil.h"
|
||||
#include "arch/ArchHooks/ArchHooks.h"
|
||||
#include "Game.h"
|
||||
#include "GameState.h"
|
||||
#include "Style.h"
|
||||
|
||||
Sprite::Sprite()
|
||||
{
|
||||
@@ -82,15 +79,6 @@ bool Sprite::Load( RageTextureID ID )
|
||||
else
|
||||
result = LoadFromTexture( ID );
|
||||
|
||||
// 2-player 8-panel gets crowded - this scaling emulates the arcade behaviour to account for this
|
||||
if( GAMESTATE->m_CurGame == GAME_TECHNO &&
|
||||
GAMESTATE->m_CurStyle == STYLE_TECHNO_VERSUS8 &&
|
||||
ID.filename.find( "NoteSkin" ) != -1 )
|
||||
{
|
||||
Actor::SetBaseZoomX( Actor::m_baseScale.x * (float)0.8 );
|
||||
Actor::SetBaseZoomY( Actor::m_baseScale.y * (float)0.8 );
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user