summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-24 19:43:26 +0100
committerIra Rice <irarice@gmail.com>2009-01-24 14:55:38 -0700
commit581206ab0fecbb3afc7afebedac541be51097cf5 (patch)
tree9734beffe9a54f02abe3457bb4c546a0bb878036 /src/monster.cpp
parentc4fd3e6090fb94a77055f4556d906e60e3803d22 (diff)
downloadmana-581206ab0fecbb3afc7afebedac541be51097cf5.tar.gz
mana-581206ab0fecbb3afc7afebedac541be51097cf5.tar.bz2
mana-581206ab0fecbb3afc7afebedac541be51097cf5.tar.xz
mana-581206ab0fecbb3afc7afebedac541be51097cf5.zip
Use standard GUI font also for speech and names
The speech bitmap font can't handle unicode, so it has now been replaced by the standard GUI font, drawn with a shadow for chat and with a full outline for names.
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index f42258bc..4006315b 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -27,8 +27,6 @@
#include "sound.h"
#include "text.h"
-#include "gui/gui.h"
-
#include "resources/monsterdb.h"
#include "utils/tostring.h"
@@ -200,8 +198,7 @@ void Monster::showName(bool show)
{
mText = new Text(getInfo().getName(), mPx + NAME_X_OFFSET,
mPy + NAME_Y_OFFSET - getHeight(),
- gcn::Graphics::CENTER,
- mobNameFont, gcn::Color(255, 32, 32));
+ gcn::Graphics::CENTER, gcn::Color(255, 32, 32));
}
else
{