summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-14 09:38:44 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-14 09:38:44 +0000
commit12d79d7aef72980ea3db22369f2b95f0ed996567 (patch)
treefa1693dc5cc14863d37f0a6935b38706f0477260 /src/map/guild.c
parentfefc60d0a202e489ebc0d999f13a0abcc638518a (diff)
downloadhercules-12d79d7aef72980ea3db22369f2b95f0ed996567.tar.gz
hercules-12d79d7aef72980ea3db22369f2b95f0ed996567.tar.bz2
hercules-12d79d7aef72980ea3db22369f2b95f0ed996567.tar.xz
hercules-12d79d7aef72980ea3db22369f2b95f0ed996567.zip
Fixed some guild skill offset calculation mistakes -_-
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11732 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 4bf006e5b..84cbe137d 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -72,7 +72,7 @@ static int guild_send_xy_timer(int tid,unsigned int tick,int id,int data);
// Modified [Komurka]
int guild_skill_get_max (int id)
{
- if (id < GD_SKILLBASE || id > GD_SKILLBASE+MAX_GUILDSKILL)
+ if (id < GD_SKILLBASE || id >= GD_SKILLBASE+MAX_GUILDSKILL)
return 0;
return guild_skill_tree[id-GD_SKILLBASE].max;
}