summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp8
-rw-r--r--src/being/localplayer.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 8b2ece2b7..1fcccb0cf 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -39,7 +39,7 @@
#include "particle/particle.h"
#include "particle/particleinfo.h"
-#include "gui/sdlfont.h"
+#include "gui/font.h"
#include "gui/popups/speechbubble.h"
@@ -537,7 +537,7 @@ void Being::takeDamage(Being *const attacker, const int amount,
if (!userPalette || !attacker)
return;
- gcn::Font *font = nullptr;
+ Font *font = nullptr;
// TRANSLATORS: hit or miss message in attacks
const std::string damage = amount ? toString(amount) : type == FLEE ?
_("dodge") : _("miss");
@@ -2003,7 +2003,7 @@ void Being::showName()
displayName.append(", ").append(toString(getDamageTaken()));
}
- gcn::Font *font = nullptr;
+ Font *font = nullptr;
if (player_node && player_node->getTarget() == this
&& mType != MONSTER)
{
@@ -2519,7 +2519,7 @@ void Being::drawSpriteAt(Graphics *const graphics,
if (mDrawHotKeys && !mName.empty())
{
- gcn::Font *const font = gui->getFont();
+ Font *const font = gui->getFont();
if (font)
{
graphics->setColor(userPalette->getColor(UserPalette::BEING));
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index ea8218ee4..0e57eabfe 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -42,8 +42,8 @@
#include "input/keyboardconfig.h"
+#include "gui/font.h"
#include "gui/gui.h"
-#include "gui/sdlfont.h"
#include "gui/viewport.h"
#include "gui/windows/chatwindow.h"