diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-01 20:20:21 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-10 20:31:51 +0100 |
commit | 683da50e37fbbb2e3f70a4421a06dabd9bb912d8 (patch) | |
tree | 065526585f7af480df2eae40ed0acc1595331fd4 /src/gui/socialwindow.cpp | |
parent | 8a88347e9ee6ce9f14d638cf602f3a763bc3ff01 (diff) | |
download | mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.tar.gz mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.tar.bz2 mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.tar.xz mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.zip |
player_node -> local_player
Reviewed-by: Ablu
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 1aa57f2f..2ed7c14c 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -341,9 +341,9 @@ SocialWindow::SocialWindow() : mCreatePopup = new CreatePopup(); - if (player_node->getParty()) + if (local_player->getParty()) { - addTab(player_node->getParty()); + addTab(local_player->getParty()); } else updateButtons(); @@ -614,7 +614,7 @@ void SocialWindow::showPartyInvite(const std::string &inviter, void SocialWindow::showPartyCreate() { - if (player_node->getParty()) + if (local_player->getParty()) { new OkDialog(_("Create Party"), _("Cannot create party. You are already in a party"), |