summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 69fd4d0f..dce83ccd 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -24,7 +24,7 @@
#include "player.h"
-#include "gui/palette.h"
+#include "gui/userpalette.h"
#include <memory>
#include <vector>
@@ -349,7 +349,7 @@ class LocalPlayer : public Player
{ return mPathSetByMouse; }
void addMessageToQueue(const std::string &message,
- Palette::ColorType color = Palette::EXP_INFO);
+ int color = UserPalette::EXP_INFO);
/**
* Called when a option (set with config.addListener()) is changed
@@ -472,7 +472,7 @@ class LocalPlayer : public Player
/** Animated target cursors. */
SimpleAnimation *mTargetCursor[2][NUM_TC];
- typedef std::pair<std::string, Palette::ColorType> MessagePair;
+ typedef std::pair<std::string, int> MessagePair;
/** Queued exp messages*/
std::list<MessagePair> mMessages;
int mMessageTime;