Refactoring in SDLMain.

This commit is contained in:
King_DuckZ 2014-03-06 11:43:28 +01:00
parent 4e3ad27ae8
commit ccc831e34d
7 changed files with 34 additions and 13 deletions

View file

@ -77,7 +77,7 @@ namespace cloonel {
AddDrawable(m_wallpaper.get());
AddDrawable(m_player.get());
m_moverSine->SetPower(static_cast<float>(SDLObject()->DefWidthHeight().y() / 2));
m_moverSine->SetPower(static_cast<float>(SDLObject()->WidthHeight().y() / 2));
}
///--------------------------------------------------------------------------