This fixes hidden, sudden, etc. with changed scroll speeds. I'm not sure
why this was here, so I'm not sure if this breaks other mods. I need to set up a test screen for gameplay mods; testing mods in gameplay is too slow ...
This commit is contained in:
@@ -200,7 +200,7 @@ float ArrowGetPercentVisible( PlayerNumber pn, float fYPos )
|
|||||||
|
|
||||||
float ArrowGetAlpha( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
|
float ArrowGetAlpha( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
|
||||||
{
|
{
|
||||||
fYPos /= GAMESTATE->m_CurrentPlayerOptions[pn].m_fScrollSpeed;
|
// fYPos /= GAMESTATE->m_CurrentPlayerOptions[pn].m_fScrollSpeed;
|
||||||
float fPercentVisible = ArrowGetPercentVisible(pn,fYPos);
|
float fPercentVisible = ArrowGetPercentVisible(pn,fYPos);
|
||||||
|
|
||||||
if( fPercentFadeToFail != -1 )
|
if( fPercentFadeToFail != -1 )
|
||||||
@@ -211,7 +211,7 @@ float ArrowGetAlpha( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
|
|||||||
|
|
||||||
float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
|
float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
|
||||||
{
|
{
|
||||||
fYPos /= GAMESTATE->m_CurrentPlayerOptions[pn].m_fScrollSpeed;
|
// fYPos /= GAMESTATE->m_CurrentPlayerOptions[pn].m_fScrollSpeed;
|
||||||
float fPercentVisible = ArrowGetPercentVisible(pn,fYPos);
|
float fPercentVisible = ArrowGetPercentVisible(pn,fYPos);
|
||||||
|
|
||||||
if( fPercentFadeToFail != -1 )
|
if( fPercentFadeToFail != -1 )
|
||||||
|
|||||||
Reference in New Issue
Block a user