diff options
author | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-06 16:36:21 +0000 |
---|---|---|
committer | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-06 16:36:21 +0000 |
commit | 191e45bc7fd698707a8e19b67245398188b8880f (patch) | |
tree | d1c4cdd52fa4ba77a3997e5c67d17f38e8bd01fc /src/map/mob.c | |
parent | 67702ced9c99ae2b52f237a789bfbfbd535b0b48 (diff) | |
download | hercules-191e45bc7fd698707a8e19b67245398188b8880f.tar.gz hercules-191e45bc7fd698707a8e19b67245398188b8880f.tar.bz2 hercules-191e45bc7fd698707a8e19b67245398188b8880f.tar.xz hercules-191e45bc7fd698707a8e19b67245398188b8880f.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@24 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 0d26676b8..a74ee534e 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1078,9 +1078,9 @@ int mob_can_reach(struct mob_data *md,struct block_list *bl,int range) nullpo_retr(0, sd=(struct map_session_data *)bl);
if(!gc)
return 0;
- if(gc && sd && sd->status.guild_id && sd->status.guild_id>0) {
+ if(gc && sd && sd->status.guild_id) {
g=guild_search(sd->status.guild_id); // don't attack guild members [Valaris]
- if(g && g->guild_id > 0 && g->guild_id == gc->guild_id)
+ if(g && g->guild_id == gc->guild_id)
return 0;
if(g && gc && guild_isallied(g,gc))
return 0;
|