summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
commitbc92643d8db723b5049db2dbad1ce052a0ae77a9 (patch)
tree4471be99711ee310c811e990d7c210e2393aeb6e /src/playerrelations.cpp
parent82cc576b7896f39bcf71aa85c8c4b3ef786c065b (diff)
downloadManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.gz
ManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.bz2
ManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.xz
ManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.zip
Fix code style and some other minor issues.
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp
index 8483a7412..7ab532f26 100644
--- a/src/playerrelations.cpp
+++ b/src/playerrelations.cpp
@@ -34,12 +34,13 @@
#include "debug.h"
-static const char *PLAYER_IGNORE_STRATEGY_NOP = "nop";
-static const char *PLAYER_IGNORE_STRATEGY_EMOTE0 = "emote0";
-static const char *DEFAULT_IGNORE_STRATEGY = PLAYER_IGNORE_STRATEGY_EMOTE0;
+static const char *const PLAYER_IGNORE_STRATEGY_NOP = "nop";
+static const char *const PLAYER_IGNORE_STRATEGY_EMOTE0 = "emote0";
+static const char *const DEFAULT_IGNORE_STRATEGY
+ = PLAYER_IGNORE_STRATEGY_EMOTE0;
-static const char *NAME = "name"; // constant for xml serialisation
-static const char *RELATION = "relation"; // constant for xml serialisation
+static const char *const NAME = "name";
+static const char *const RELATION = "relation";
static const unsigned int IGNORE_EMOTE_TIME = 100;