diff options
| author | Caldfir | 2012-04-05 17:37:29 -0700 |
|---|---|---|
| committer | Caldfir | 2012-04-05 17:37:29 -0700 |
| commit | f0518d6835a332acb5807e5c7a7eac468031e218 (patch) | |
| tree | 88ea12a144464ed8a7b591020c212f40d86ebdb8 /Creatures.cpp | |
| parent | 178e360ca193f8d6886287046c9f7d3991f4dcd3 (diff) | |
| download | stonesense-f0518d6835a332acb5807e5c7a7eac468031e218.tar.gz stonesense-f0518d6835a332acb5807e5c7a7eac468031e218.tar.bz2 stonesense-f0518d6835a332acb5807e5c7a7eac468031e218.tar.xz | |
Renamed erroneously named 'job' variables to correctly read 'profession'.
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 ba19970..05f923b 100644 --- a/Creatures.cpp +++ b/Creatures.cpp @@ -290,11 +290,11 @@ void DrawCreature(int drawx, int drawy, t_unit* creature, Block * b){ offsety += config.show_creature_moods ? 16 : 0;
- if(config.show_creature_jobs)
+ if(config.show_creature_professions)
{
unsigned int sheetx = 16 * (creature->profession % 7);
unsigned int sheety = 16 * (creature->profession / 7);
- al_draw_bitmap_region(IMGJobSheet, sheetx, sheety, 16, 16, drawx -8 + (SPRITEWIDTH*config.scale/2), drawy - (16 + WALLHEIGHT*config.scale + offsety), 0);
+ al_draw_bitmap_region(IMGProfSheet, sheetx, sheety, 16, 16, drawx -8 + (SPRITEWIDTH*config.scale/2), drawy - (16 + WALLHEIGHT*config.scale + offsety), 0);
}
}
|
