summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-15 00:11:16 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-15 00:11:16 +0000
commit4964f9b5095740a8f076502cfd533439a2cf5965 (patch)
tree2eb5831472d78eb809d0a36b7cfcf0f4c5bba778 /src/map/party.c
parenta8c1888d6967c01171d73586b2a5124ecb7453ae (diff)
downloadhercules-4964f9b5095740a8f076502cfd533439a2cf5965.tar.gz
hercules-4964f9b5095740a8f076502cfd533439a2cf5965.tar.bz2
hercules-4964f9b5095740a8f076502cfd533439a2cf5965.tar.xz
hercules-4964f9b5095740a8f076502cfd533439a2cf5965.zip
* Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13077 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c
index e24acdf6a..8053aec76 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -292,8 +292,8 @@ int party_invite(struct map_session_data *sd,struct map_session_data *tsd)
return 0;
}
- if ( (pc_isGM(sd) && !pc_isGM(tsd) && !battle_config.gm_can_party && pc_isGM(sd) < battle_config.gm_cant_party_max_lv)
- || ( !pc_isGM(sd) && pc_isGM(tsd) && !battle_config.gm_can_party ) )
+ if ( (pc_isGM(sd) && !pc_isGM(tsd) && !battle_config.gm_can_party && pc_isGM(sd) < battle_config.gm_cant_party_min_lv)
+ || ( !pc_isGM(sd) && pc_isGM(tsd) && !battle_config.gm_can_party && pc_isGM(tsd) < battle_config.gm_cant_party_min_lv) )
{
//GMs can't invite non GMs to the party if not above the invite trust level
//Likewise, as long as gm_can_party is off, players can't invite GMs.