minimal refactor

This commit is contained in:
Adrien Marquès 2020-02-04 20:22:31 +01:00
parent cb1a862b6f
commit 47429e5081
1 changed files with 1 additions and 2 deletions

View File

@ -281,8 +281,7 @@ void xApplication::render(){
/* 4. draw every sprite */ /* 4. draw every sprite */
set<xDrawable*>::iterator it; for( set<xDrawable*>::iterator it = _sprites.begin() ; it != _sprites.end() ; it++ ){
for( it = _sprites.begin() ; it != _sprites.end() ; it++ ){
xDrawable* sprite = *it; xDrawable* sprite = *it;
sprite->draw(_renderer); sprite->draw(_renderer);
} }