summaryrefslogtreecommitdiff
path: root/src/gui/playerbox.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-09-24 23:24:40 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-09-24 23:24:40 +0000
commit8f4b1c131b62a94170dda6a54c257a4730976fca (patch)
treed6f77e26f3f5c630269cd5f85cd0962677723642 /src/gui/playerbox.cpp
parent4d99be2eac38f0bfad3b77f359e1f17aaceb63b4 (diff)
downloadmana-8f4b1c131b62a94170dda6a54c257a4730976fca.tar.gz
mana-8f4b1c131b62a94170dda6a54c257a4730976fca.tar.bz2
mana-8f4b1c131b62a94170dda6a54c257a4730976fca.tar.xz
mana-8f4b1c131b62a94170dda6a54c257a4730976fca.zip
Removed unused hairstyle frames and applied patch by Rogier Polak to solve the
problem with an OpenGL related redefinition.
Diffstat (limited to 'src/gui/playerbox.cpp')
-rw-r--r--src/gui/playerbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/playerbox.cpp b/src/gui/playerbox.cpp
index f0ed9b71..0a155573 100644
--- a/src/gui/playerbox.cpp
+++ b/src/gui/playerbox.cpp
@@ -97,7 +97,7 @@ void PlayerBox::draw(gcn::Graphics *graphics)
if (mHairColor >= 0 && mHairStyle >= 0 &&
mHairColor < NR_HAIR_COLORS && mHairStyle < NR_HAIR_STYLES)
{
- int hf = 9 * mHairColor;
+ int hf = 5 * mHairColor;
if (hf >= 0 && hf < (int)hairset[mHairStyle]->size()) {
dynamic_cast<Graphics*>(graphics)->drawImage(
hairset[mHairStyle]->get(hf), 35, 7);