diff options
| author | Caldfir | 2012-03-24 03:40:59 -0700 |
|---|---|---|
| committer | Caldfir | 2012-03-24 03:40:59 -0700 |
| commit | d68916193f5f8afa3c42366330ef29c9adec53ea (patch) | |
| tree | d257d8f8570410383f124a668c664c153c2c25ea | |
| parent | 310c5df1e4495e455fc189086012f24014f1a01b (diff) | |
| download | stonesense-d68916193f5f8afa3c42366330ef29c9adec53ea.tar.gz stonesense-d68916193f5f8afa3c42366330ef29c9adec53ea.tar.bz2 stonesense-d68916193f5f8afa3c42366330ef29c9adec53ea.tar.xz | |
Switched on the new profession indicator.
| -rw-r--r-- | Creatures.cpp | 2 |
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);
}
}
|
