diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-29 20:35:19 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-29 20:36:58 -0600 |
commit | bbf4d657e77fd39887b9941af1fe75a5ec27d988 (patch) | |
tree | d03c2973cff4d11e2eddbb856483369255ee40af /src/gui/popupmenu.cpp | |
parent | 985e65f31b9cc06f13b733ddd5c7a9daa1331e21 (diff) | |
download | mana-bbf4d657e77fd39887b9941af1fe75a5ec27d988.tar.gz mana-bbf4d657e77fd39887b9941af1fe75a5ec27d988.tar.bz2 mana-bbf4d657e77fd39887b9941af1fe75a5ec27d988.tar.xz mana-bbf4d657e77fd39887b9941af1fe75a5ec27d988.zip |
Fix up eAthena party handling some more
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 1f36ef45..d0281c1f 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -215,13 +215,12 @@ void PopupMenu::handleLink(const std::string &link) { player_node->inviteToGuild(being); } - +#endif // Add player to your party else if (link == "party") { - player_node->inviteToParty(being->getName()); + player_node->inviteToParty(dynamic_cast<Player*>(being)); } -#endif /* // Follow Player action else if (link == "follow") |