diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/mmo.h | 5 | ||||
-rw-r--r-- | src/map/script.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index 6ef5b50f5..fb7bd8963 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -110,9 +110,8 @@ #define MAX_CART 100 #define MAX_SKILL 1478 #define MAX_SKILL_ID 10015 // [Ind/Hercules] max used skill ID -//Update this max as necessary. 55 is the value needed for Super Baby currently -//Raised to 84 since Expanded Super Novice needs it. -#define MAX_SKILL_TREE 84 +// Update this max as necessary. 85 is the value needed for Expanded Super Novice. +#define MAX_SKILL_TREE 85 #define DEFAULT_WALK_SPEED 150 #define MIN_WALK_SPEED 20 /* below 20 clips animation */ #define MAX_WALK_SPEED 1000 diff --git a/src/map/script.c b/src/map/script.c index 6ccbf8eaa..9b4842e07 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13211,6 +13211,8 @@ BUILDIN(getlook) int type,val; TBL_PC *sd; sd=script->rid2sd(st); + if( sd == NULL ) + return false; type=script_getnum(st,2); val = -1; |