summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-07-19 19:52:48 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-07-19 19:52:48 +0000
commit02ea6cebf13e7a61bf049ab70d16c6248e9d2643 (patch)
tree9d349410b207d7954b3583304d91edbfca91d06a /src
parent28e8649ac5f14e2a1d05edf8dff5d9a367efbf40 (diff)
downloadmana-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.tar.gz
mana-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.tar.bz2
mana-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.tar.xz
mana-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.zip
Fixed radar dot size of local player and the color of the [TARGET] string.
Diffstat (limited to 'src')
-rw-r--r--src/engine.cpp1
-rw-r--r--src/gui/minimap.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index ba28fcc9..c5cf5c1a 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -243,6 +243,7 @@ void Engine::draw(Graphics *graphics)
if ((target = player_node->getTarget()))
{
graphics->setFont(speechFont);
+ graphics->setColor(gcn::Color(255, 255, 255));
int dy = (target->getType() == Being::PLAYER) ? 90 : 52;
graphics->drawText("[TARGET]", target->getPixelX() - map_x + 15,
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 9d414b8b..db6d4f15 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -106,6 +106,7 @@ void Minimap::draw(gcn::Graphics *graphics)
graphics->fillRectangle(gcn::Rectangle(
being->mX / 2 + getPadding() - offset,
- being->mY / 2 + getTitleBarHeight() - offset, 1, 1));
+ being->mY / 2 + getTitleBarHeight() - offset,
+ dotSize, dotSize));
}
}