Warning and assert fixes.

This commit is contained in:
King_DuckZ 2016-11-09 23:35:41 +01:00
parent 72bfb64795
commit 0b6cdeb5f5
3 changed files with 1 additions and 15 deletions

View file

@ -67,9 +67,6 @@ namespace cloonel {
///-------------------------------------------------------------------------
///-------------------------------------------------------------------------
void Character::Prepare() {
const SDLMain* const sdlmain = m_texture->SDLObject();
const int2 screensize(vector_cast<int2>(sdlmain->WidthHeight()));
m_texture->Reload();
}