diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-12 22:36:08 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-12 22:36:08 -0800 |
commit | 608f959900968e83fd25231c72308fc608742dd5 (patch) | |
tree | 33a250f00947d7c83ba50779da466b5f5885db9f /src/map/party.cpp | |
parent | d8e5c96fbbed5d526dd77d2e427bcb3090bddd58 (diff) | |
download | tmwa-608f959900968e83fd25231c72308fc608742dd5.tar.gz tmwa-608f959900968e83fd25231c72308fc608742dd5.tar.bz2 tmwa-608f959900968e83fd25231c72308fc608742dd5.tar.xz tmwa-608f959900968e83fd25231c72308fc608742dd5.zip |
Remove guilds, finally
If anyone in the future wonders why I did this,
just look at how many lines of code this eliminates.
Diffstat (limited to 'src/map/party.cpp')
-rw-r--r-- | src/map/party.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.cpp b/src/map/party.cpp index b58234a..c649ae5 100644 --- a/src/map/party.cpp +++ b/src/map/party.cpp @@ -250,7 +250,7 @@ int party_invite (struct map_session_data *sd, int account_id) if (!battle_config.invite_request_check) { /* Disallow the invitation under these conditions. */ - if (tsd->guild_invite > 0 || tsd->trade_partner || tsd->npc_id + if (tsd->trade_partner || tsd->npc_id || tsd->npc_shopid || pc_checkskill (tsd, NV_PARTY) < 1) { clif_party_inviteack (sd, tsd->status.name, 1); |