summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-20 00:36:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-20 03:48:29 +0300
commitf6dbee24b6a16dc4316ee5b7ebb9863723441ec4 (patch)
tree48341149c625abd74e5a6d6c7ab25f634e8ea22f /src/being.cpp
parentc657b6d4380dcf57634236bdb3b77179b5d81b91 (diff)
downloadmanaverse-f6dbee24b6a16dc4316ee5b7ebb9863723441ec4.tar.gz
manaverse-f6dbee24b6a16dc4316ee5b7ebb9863723441ec4.tar.bz2
manaverse-f6dbee24b6a16dc4316ee5b7ebb9863723441ec4.tar.xz
manaverse-f6dbee24b6a16dc4316ee5b7ebb9863723441ec4.zip
Fix incorrect color access.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 5e52901f6..248b70b80 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -1636,7 +1636,7 @@ void Being::updateColors()
}
else
{
- mTextColor = &userPalette->getColor(Theme::PLAYER);
+ mTextColor = &Theme::getThemeColor(Theme::PLAYER);
mErased = false;