summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-08-13 15:02:59 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-08-13 15:02:59 +0000
commit94024e2b57b31ee92bb81fc48ce236283330b60c (patch)
treea526015cfcdd33c3482b710dc4fa22bbec4e0090 /src/npc.cpp
parentc9175a4d140f4c852aa5195b72ad9bd1ae8d5cee (diff)
downloadmana-94024e2b57b31ee92bb81fc48ce236283330b60c.tar.gz
mana-94024e2b57b31ee92bb81fc48ce236283330b60c.tar.bz2
mana-94024e2b57b31ee92bb81fc48ce236283330b60c.tar.xz
mana-94024e2b57b31ee92bb81fc48ce236283330b60c.zip
Added support for different colored fonts for different being types
Diffstat (limited to 'src/npc.cpp')
-rw-r--r--src/npc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index ec7088ab..1615ecd6 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -84,7 +84,7 @@ void NPC::setName(const std::string &name)
delete mName;
}
mName = new Text(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET,
- gcn::Graphics::CENTER, speechFont,
+ gcn::Graphics::CENTER, npcNameFont,
gcn::Color(200, 200, 255));
}