From 061f0dd698c40afa367db8b129c5ae319e92aade Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 16 Jun 2008 07:04:46 +0000 Subject: Allow whispers by default (patch by Fate). --- src/gui/setup_players.cpp | 2 +- src/player_relations.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp index 20a225b8..24b559da 100644 --- a/src/gui/setup_players.cpp +++ b/src/gui/setup_players.cpp @@ -205,7 +205,7 @@ Setup_Players::Setup_Players(): mPlayerScrollArea(new ScrollArea(mPlayerTable)), mPersistIgnores(new CheckBox("save player list", player_relations.getPersistIgnores())), mDefaultTrading(new CheckBox("allow trading", player_relations.getDefault() & PlayerRelation::TRADE)), - mDefaultWhisper(new CheckBox("allow whispers", player_relations.getDefault() & PlayerRelation:: WHISPER)), + mDefaultWhisper(new CheckBox("allow whispers", player_relations.getDefault() & PlayerRelation::WHISPER)), mDeleteButton(new Button("Delete", ACTION_DELETE, this)), mIgnoreActionChoicesBox(new gcn::DropDown(new IgnoreChoicesListModel())) { diff --git a/src/player_relations.h b/src/player_relations.h index 99c16020..6e7d1f9d 100644 --- a/src/player_relations.h +++ b/src/player_relations.h @@ -44,7 +44,7 @@ struct PlayerRelation static const unsigned int DEFAULT = EMOTE | SPEECH_FLOAT | SPEECH_LOG -// | WHISPER -- only for friends + | WHISPER | TRADE; enum relation { NEUTRAL = 0, -- cgit v1.2.3-70-g09d2