diff --git a/xSDL/xApplication.cpp b/xSDL/xApplication.cpp index 25a5045..9293eae 100644 --- a/xSDL/xApplication.cpp +++ b/xSDL/xApplication.cpp @@ -281,8 +281,7 @@ void xApplication::render(){ /* 4. draw every sprite */ - set::iterator it; - for( it = _sprites.begin() ; it != _sprites.end() ; it++ ){ + for( set::iterator it = _sprites.begin() ; it != _sprites.end() ; it++ ){ xDrawable* sprite = *it; sprite->draw(_renderer); }