diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 4f2bcd1b0..e0c853ba2 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -9151,12 +9151,11 @@ BUILDIN_FUNC(emotion) return 0; } -static int buildin_maprespawnguildid_sub_pc(DBKey key, void *data, va_list ap) +static int buildin_maprespawnguildid_sub_pc(struct map_session_data* sd, va_list ap) { int m=va_arg(ap,int); int g_id=va_arg(ap,int); int flag=va_arg(ap,int); - TBL_PC *sd = (TBL_PC*)data; if(!sd || sd->bl.m != m) return 0; |