diff options
| author | Japa | 2011-01-20 04:14:21 +0000 |
|---|---|---|
| committer | Japa | 2011-01-20 04:14:21 +0000 |
| commit | 89dfda82b905eb4a14d3a1bc602aef5e7e3216ea (patch) | |
| tree | c472b3b24c56b4056abad6dac85ed610115eff2d /Creatures.cpp | |
| parent | a70e0aabbf9a1c4463591ab0614f25d41477046e (diff) | |
| download | stonesense-89dfda82b905eb4a14d3a1bc602aef5e7e3216ea.tar.gz stonesense-89dfda82b905eb4a14d3a1bc602aef5e7e3216ea.tar.bz2 stonesense-89dfda82b905eb4a14d3a1bc602aef5e7e3216ea.tar.xz | |
first working multithreaded version.
Diffstat (limited to 'Creatures.cpp')
| -rw-r--r-- | Creatures.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Creatures.cpp b/Creatures.cpp index 6222503..681f357 100644 --- a/Creatures.cpp +++ b/Creatures.cpp @@ -223,7 +223,7 @@ bool IsCreatureVisible( t_creature* c ){ return true;
}
-void DrawCreature(int drawx, int drawy, t_creature* creature ){
+void DrawCreature(int drawx, int drawy, t_creature* creature, Block * b){
vector<int> statusIcons;
//if(config.show_creature_happiness)
@@ -268,7 +268,7 @@ void DrawCreature(int drawx, int drawy, t_creature* creature ){ c_sprite * sprite = GetCreatureSpriteMap( creature );
//if(creature->x == 151 && creature->y == 145)
// int j = 10;
- sprite->draw_world(creature->x,creature->y, creature->z);
+ sprite->draw_world(creature->x,creature->y, creature->z, b);
if(statusIcons.size())
{
for(int i = 0; i < statusIcons.size(); i++)
|
