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.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 9c9a5fc21..767402512 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8652,10 +8652,9 @@ int buildin_emotion(struct script_state *st)
static int buildin_maprespawnguildid_sub_pc(DBKey key, void *data, va_list ap)
{
- va_list ap2 = va_arg(ap, va_list); // double decode -_-
- int m=va_arg(ap2,int);
- int g_id=va_arg(ap2,int);
- int flag=va_arg(ap2,int);
+ int m=va_arg(ap,int);
+ int g_id=va_arg(ap,int);
+ int flag=va_arg(ap,int);
struct map_session_data *sd = (TBL_PC*)data;
if(!sd || sd->bl.m != m)