migrant a SDL3
This commit is contained in:
@@ -247,8 +247,8 @@ bool GameLogo::hasFinished() const
|
||||
// Calcula el desplazamiento vertical inicial
|
||||
int GameLogo::getInitialVerticalDesp()
|
||||
{
|
||||
auto desp_up = y_;
|
||||
auto desp_down = param.game.height - y_;
|
||||
const float OFFSET_UP = y_;
|
||||
const float OFFSET_DOWN = param.game.height - y_;
|
||||
|
||||
return std::max(desp_up, desp_down);
|
||||
return std::max(OFFSET_UP, OFFSET_DOWN);
|
||||
}
|
||||
Reference in New Issue
Block a user