summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
commit6e6c5b2ba399e0ed364ada843c4c759ee54de219 (patch)
tree562e6a840c856ba8c4d35c6806020289c65d54d2 /src/maplayer.cpp
parent82ac4641828ec7387863bb18cf4493190c4cc68f (diff)
downloadmanaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.gz
manaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.bz2
manaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.xz
manaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.zip
combine font classes in one.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index 3da8ba7d9..86a431cdf 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -35,8 +35,8 @@
#include "resources/resourcemanager.h"
+#include "gui/font.h"
#include "gui/gui.h"
-#include "gui/sdlfont.h"
#include "utils/dtor.h"
@@ -823,7 +823,7 @@ void MapItem::draw(Graphics *const graphics, const int x, const int y,
}
if (!mName.empty() && mType != PORTAL && mType != EMPTY)
{
- gcn::Font *const font = gui->getFont();
+ Font *const font = gui->getFont();
if (font)
{
graphics->setColor(userPalette->getColor(UserPalette::BEING));