diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index cae1d094b..950297d8a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6359,7 +6359,7 @@ BUILDIN_FUNC(getcharid) BUILDIN_FUNC(getnpcid) { int num = script_getnum(st,2); - struct npc_data* nd; + struct npc_data* nd = NULL; if( script_hasdata(st,3) ) {// unique npc name |