summaryrefslogtreecommitdiff
path: root/src/net/ea/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r--src/net/ea/gui/partytab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index 15ef5fc80..dfb4b9dcc 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -206,10 +206,10 @@ bool PartyTab::handleCommand(const std::string &restrict type,
void PartyTab::getAutoCompleteList(StringVect &names) const
{
- if (!player_node)
+ if (!localPlayer)
return;
- const Party *const p = player_node->getParty();
+ const Party *const p = localPlayer->getParty();
if (p)
p->getNames(names);