summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 22efc711..27820acf 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -31,7 +31,6 @@
#include "utils/strprintf.h"
-#include "gui/gui.h"
#include <iostream>
static const int NAME_X_OFFSET = 15;
@@ -57,7 +56,7 @@ void Player::setName(const std::string &name)
{
mName = new FlashText(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET,
gcn::Graphics::CENTER,
- speechFont, gcn::Color(255, 255, 255));
+ gcn::Color(255, 255, 255));
Being::setName(name);
}
}