summaryrefslogtreecommitdiff
path: root/src/actions/statusbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/statusbar.cpp')
-rw-r--r--src/actions/statusbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/statusbar.cpp b/src/actions/statusbar.cpp
index 5832d49c0..1555c7233 100644
--- a/src/actions/statusbar.cpp
+++ b/src/actions/statusbar.cpp
@@ -168,7 +168,7 @@ impHandler0(changeMapMode)
impHandler0(changeTrade)
{
- unsigned int deflt = player_relations.getDefault();
+ unsigned int deflt = playerRelations.getDefault();
if ((deflt & PlayerRelation::TRADE) != 0u)
{
if (localChatTab != nullptr)
@@ -190,7 +190,7 @@ impHandler0(changeTrade)
deflt |= PlayerRelation::TRADE;
}
- player_relations.setDefault(deflt);
+ playerRelations.setDefault(deflt);
return true;
}