diff options
author | panikon <panikon@zoho.com> | 2014-07-06 18:38:16 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-07-06 18:38:16 -0300 |
commit | 79a6bf00d6e91ecdf157b904d82ba8ae92f4d99d (patch) | |
tree | 6356b4ba421fc2a124737ad935416678a50ba0e5 /src/map | |
parent | a1aaa96a17edae63c70a236d7f3402ab46d833a2 (diff) | |
download | hercules-79a6bf00d6e91ecdf157b904d82ba8ae92f4d99d.tar.gz hercules-79a6bf00d6e91ecdf157b904d82ba8ae92f4d99d.tar.bz2 hercules-79a6bf00d6e91ecdf157b904d82ba8ae92f4d99d.tar.xz hercules-79a6bf00d6e91ecdf157b904d82ba8ae92f4d99d.zip |
Fixed issue with getlook
Follow up to 2e6016f, increased MAX_SKILL_TREE in order to fit WE_BABY in Expanded Super Novice
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |