diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/map/script.c b/src/map/script.c index 90a657075..dca64002c 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7452,11 +7452,8 @@ int buildin_getmapguildusers(struct script_state *st) { if (g){ for(i = 0; i < g->max_member; i++) { - if (g->member[i].sd ) - { - if(g->member[i].sd->bl.m == m) - c++; - } + if (g->member[i].sd && g->member[i].sd->bl.m == m) + c++; } } |