summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp
index a18d82aaa..549c3ca2d 100644
--- a/src/playerrelations.cpp
+++ b/src/playerrelations.cpp
@@ -467,7 +467,8 @@ bool PlayerRelationsManager::checkBadRelation(std::string name)
class PIS_nothing : public PlayerIgnoreStrategy
{
public:
- PIS_nothing()
+ PIS_nothing() :
+ PlayerIgnoreStrategy()
{
mDescription = _("Completely ignore");
mShortName = PLAYER_IGNORE_STRATEGY_NOP;
@@ -482,7 +483,8 @@ public:
class PIS_dotdotdot : public PlayerIgnoreStrategy
{
public:
- PIS_dotdotdot()
+ PIS_dotdotdot() :
+ PlayerIgnoreStrategy()
{
mDescription = _("Print '...'");
mShortName = "dotdotdot";
@@ -502,7 +504,8 @@ public:
class PIS_blinkname : public PlayerIgnoreStrategy
{
public:
- PIS_blinkname()
+ PIS_blinkname() :
+ PlayerIgnoreStrategy()
{
mDescription = _("Blink name");
mShortName = "blinkname";
@@ -523,6 +526,7 @@ class PIS_emote : public PlayerIgnoreStrategy
public:
PIS_emote(const uint8_t emote_nr, const std::string &description,
const std::string &shortname) :
+ PlayerIgnoreStrategy(),
mEmotion(emote_nr)
{
mDescription = description;