summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Creatures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Creatures.cpp b/Creatures.cpp
index 811934d..782a1d9 100644
--- a/Creatures.cpp
+++ b/Creatures.cpp
@@ -283,7 +283,7 @@ void DrawCreature(int drawx, int drawy, t_unit* creature, Block * b){
{
df::creature_raw *raw = df::global::world->raws.creatures.all[creature->race];
int spritenum = raw->creature_tile;
- if(raw->caste[creature->caste]->caste_tile)
+ if(raw->caste[creature->caste]->caste_tile != 1)
spritenum = raw->caste[creature->caste]->caste_tile;
spritenum += (spritenum/16)*4;
ALLEGRO_COLOR tilecolor = config.colors.getDfColor(DFHack::Units::getCasteProfessionColor(creature->race,creature->caste,(df::profession)creature->profession));