From 46311a784a46d1f1afb3173e73aff722f2208958 Mon Sep 17 00:00:00 2001 From: brianluau Date: Thu, 27 Aug 2009 05:14:42 +0000 Subject: - Fixed typo in Hyegun_Hat (5367). (bugreport:1935) - Added missing bonuses to Mask_Of_Ifrit (5420). (bugreport:2188) - Added better examples for some documentation. - Fixed item loss from mail if you are OVER 100% overweight. (bugreport:1862) - Fixed 'waitingroom2bg' checking wrong parameter. (bugreport:3330) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14034 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 6597b3eae..f14d0179e 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13476,8 +13476,8 @@ BUILDIN_FUNC(waitingroom2bg) int x, y, i, mapindex = 0, bg_id, n; struct map_session_data *sd; - if( script_hasdata(st,8) ) - nd = npc_name2id(script_getstr(st,8)); + if( script_hasdata(st,7) ) + nd = npc_name2id(script_getstr(st,7)); else nd = (struct npc_data *)map_id2bl(st->oid); -- cgit v1.2.3-60-g2f50