summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 404079126..95cf48a16 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8307,7 +8307,7 @@ BUILDIN(guildskill) {
if( (gd->skill[id].lv + level) > max_points )
level = max_points - gd->skill[id].lv;
- if( level == 0 )
+ if( level <= 0 )
return true;
memcpy(&gd_skill, &(gd->skill[id]), sizeof(gd->skill[id]));