summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-09 16:33:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-09 16:33:11 +0000
commitd9cf596186c4432f100a70a5395587536a879223 (patch)
tree66ccf82aa350dc29c5c0886aaa0f70cf9fb9d4b2 /src/map/mob.c
parent00eb2beb3a1f31ae991b8162cf577eb8acfbec81 (diff)
downloadhercules-d9cf596186c4432f100a70a5395587536a879223.tar.gz
hercules-d9cf596186c4432f100a70a5395587536a879223.tar.bz2
hercules-d9cf596186c4432f100a70a5395587536a879223.tar.xz
hercules-d9cf596186c4432f100a70a5395587536a879223.zip
- Small code cleanups. One should lower a bit function overhead when using mob_ai&32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5967 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 9e0c9b08a..c6248ca56 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1419,7 +1419,7 @@ static int mob_ai_sub_lazy(DBKey key,void * data,va_list app)
nullpo_retr(0, md);
nullpo_retr(0, app);
- if(md->bl.type!=BL_MOB)
+ if(md->bl.type!=BL_MOB || md->bl.prev == NULL)
return 0;
ap = va_arg(app, va_list);