minimal refactor
This commit is contained in:
parent
cb1a862b6f
commit
47429e5081
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue