diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index e385f9f..eb4438f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,10 +55,10 @@ int main() shader.Bind();
_spriteBatch.begin();
for(std::list<Creature>::iterator it = L.C.begin(); it != L.C.end(); it++)
- _spriteBatch.draw(it->gfxData);;
+ _spriteBatch.draw(it->getGFXD());;
for(std::list<Resource>::iterator it = L.R.begin(); it != L.R.end(); it++)
- _spriteBatch.draw(it->gfxData);;
+ _spriteBatch.draw(it->getGFXD());;
_spriteBatch.end();
_spriteBatch.renderBatch();
|