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

@ -49,7 +49,7 @@ namespace cloonel {
///-------------------------------------------------------------------------
void Character::Prepare() {
const SDLMain* const sdlmain = m_texture->SDLObject();
const int2 screensize(sdlmain->DefWidthHeight());
const int2 screensize(sdlmain->WidthHeight());
m_texture->Reload();
}