summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-31 18:58:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-31 18:58:36 +0300
commit97109e6260af3eab9c2fd7bae7dbcd0935f70da7 (patch)
tree7163ff8b848be764061444e937e3f8dc9a35b0e1 /src/being/being.cpp
parentb0e37be06900f3889dfe9dffa55d799cad2f1f36 (diff)
downloadmanaplus-97109e6260af3eab9c2fd7bae7dbcd0935f70da7.tar.gz
manaplus-97109e6260af3eab9c2fd7bae7dbcd0935f70da7.tar.bz2
manaplus-97109e6260af3eab9c2fd7bae7dbcd0935f70da7.tar.xz
manaplus-97109e6260af3eab9c2fd7bae7dbcd0935f70da7.zip
Add paths.xml option for set bandge offset.
it used if need show badges at right and names is hidden.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 31ea99b27..c051d3038 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2309,7 +2309,7 @@ void Being::drawEmotion(Graphics *restrict const graphics,
{
if (mShowBadges == BadgeDrawType::Right)
{
- x = px + getWidth();
+ x = px + settings.playerBadgeAtRightOffset;
y = py;
}
else if (mShowBadges == BadgeDrawType::Bottom)