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). --- ChangeLog | 9 +++++++-- src/gui/setup_players.cpp | 2 +- src/player_relations.h | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 69c8fff3..e223439c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ +2008-06-16 Fate + + * player_relations.h: Allow whispers by default. + 2008-06-14 David Athay - * src/gui/shop.cpp, src/gui/browserbox.cpp, src/net/tradehandler.cpp: Fixed - compilation errors. Fixed trade bug (although a little hacky right now). + * src/gui/shop.cpp, src/gui/browserbox.cpp, src/net/tradehandler.cpp: + Fixed compilation errors. Fixed trade bug (although a little hacky + right now). * src/net/tradehandler.cpp: Changed bug fix as requested by Bjørn. 2008-06-08 Fate 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