diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-06 05:01:41 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-06 05:01:41 +0000 |
commit | 4ecf64221cb558786e4581f4ac7ffa733fa3e4d5 (patch) | |
tree | 906e1be9da76b8c9272cfab7ad6bb996ae17aacc /src/map/script.c | |
parent | a067954fa2a33d8c962022f48adb7c3bfbe828e7 (diff) | |
download | hercules-4ecf64221cb558786e4581f4ac7ffa733fa3e4d5.tar.gz hercules-4ecf64221cb558786e4581f4ac7ffa733fa3e4d5.tar.bz2 hercules-4ecf64221cb558786e4581f4ac7ffa733fa3e4d5.tar.xz hercules-4ecf64221cb558786e4581f4ac7ffa733fa3e4d5.zip |
* Reverted changes, moved status_calc_pc(sd,1) back to pc_authok since it causes problems.
modified Changelog-Trunk.txt
modified src/map/pc.c
modified src/map/script.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9150 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 40754c9f0..2df67fcb1 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7424,13 +7424,14 @@ int buildin_getmapguildusers(struct script_state *st) { char *str;
int m, gid;
int i=0,c=0;
+ struct guild *g = NULL;
str=conv_str(st, &(st->stack->stack_data[st->start+2]));
gid=conv_num(st, &(st->stack->stack_data[st->start+3]));
if ((m = map_mapname2mapid(str)) < 0) { // map id on this server (m == -1 if not in actual map-server)
push_val(st->stack, C_INT, -1);
return 0;
}
- struct guild *g = guild_search(gid);
+ g = guild_search(gid);
if (g){
for(i = 0; i < g->max_member; i++)
|