summaryrefslogtreecommitdiff
path: root/Creatures.cpp
diff options
context:
space:
mode:
authorJapa2011-01-20 04:14:21 +0000
committerJapa2011-01-20 04:14:21 +0000
commit89dfda82b905eb4a14d3a1bc602aef5e7e3216ea (patch)
treec472b3b24c56b4056abad6dac85ed610115eff2d /Creatures.cpp
parenta70e0aabbf9a1c4463591ab0614f25d41477046e (diff)
downloadstonesense-89dfda82b905eb4a14d3a1bc602aef5e7e3216ea.tar.gz
stonesense-89dfda82b905eb4a14d3a1bc602aef5e7e3216ea.tar.bz2
stonesense-89dfda82b905eb4a14d3a1bc602aef5e7e3216ea.tar.xz
first working multithreaded version.
Diffstat (limited to 'Creatures.cpp')
-rw-r--r--Creatures.cpp4
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++)