missing param
This commit is contained in:
parent
c6dd25ed99
commit
66e58c5914
|
@ -185,10 +185,11 @@ void Creature::draw(int x, int y)
|
||||||
outfitColorId = m_outfit.feet;
|
outfitColorId = m_outfit.feet;
|
||||||
|
|
||||||
g_graphics.bindColor(outfitColors[outfitColorId]);
|
g_graphics.bindColor(outfitColors[outfitColorId]);
|
||||||
internalDraw(x, y, 1, m_direction, 0, 0, anim);
|
internalDraw(x, y, 1, m_direction, 0, 0, anim, (SpriteMask)mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_graphics.bindBlendFunc(BLEND_NORMAL);
|
g_graphics.bindBlendFunc(BLEND_NORMAL);
|
||||||
|
g_graphics.bindColor(Color::white);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ void Thing::internalDraw(int x, int y, int blendframes, int xdiv, int ydiv, int
|
||||||
TexturePtr spriteTex;
|
TexturePtr spriteTex;
|
||||||
if(mask == SpriteMaskNone) {
|
if(mask == SpriteMaskNone) {
|
||||||
spriteTex = g_sprites.getSpriteTexture(spriteId);
|
spriteTex = g_sprites.getSpriteTexture(spriteId);
|
||||||
g_graphics.bindColor(Color::white);
|
|
||||||
} else
|
} else
|
||||||
spriteTex = g_sprites.getSpriteMask(spriteId, mask);
|
spriteTex = g_sprites.getSpriteMask(spriteId, mask);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue