summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaldfir2012-03-24 03:40:59 -0700
committerCaldfir2012-03-24 03:40:59 -0700
commitd68916193f5f8afa3c42366330ef29c9adec53ea (patch)
treed257d8f8570410383f124a668c664c153c2c25ea
parent310c5df1e4495e455fc189086012f24014f1a01b (diff)
downloadstonesense-d68916193f5f8afa3c42366330ef29c9adec53ea.tar.gz
stonesense-d68916193f5f8afa3c42366330ef29c9adec53ea.tar.bz2
stonesense-d68916193f5f8afa3c42366330ef29c9adec53ea.tar.xz
Switched on the new profession indicator.
-rw-r--r--Creatures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Creatures.cpp b/Creatures.cpp
index 414e615..03b4033 100644
--- a/Creatures.cpp
+++ b/Creatures.cpp
@@ -291,7 +291,7 @@ void DrawCreature(int drawx, int drawy, t_unit* creature, Block * b){
{
unsigned int sheetx = 16 * (creature->profession % 7);
unsigned int sheety = 16 * (creature->profession / 7);
- al_draw_bitmap_region(IMGStatusSheet, sheetx, sheety, 16, 16, drawx -8 + (SPRITEWIDTH*config.scale/2), drawy - (16 + WALLHEIGHT*config.scale + offsety), 0);
+ al_draw_bitmap_region(IMGJobSheet, sheetx, sheety, 16, 16, drawx -8 + (SPRITEWIDTH*config.scale/2), drawy - (16 + WALLHEIGHT*config.scale + offsety), 0);
}
}