diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-03 03:35:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-03 03:35:42 +0000 |
commit | 7bb91031c6b244781f6637dc87dafa5835326888 (patch) | |
tree | 0b762a50ccba3c0c83bb53b106726d8341963215 /src/map/mob.c | |
parent | 4e2dfb05f4cd0743b4b49d2c9c9b9422fa8603e5 (diff) | |
download | hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.gz hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.bz2 hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.xz hercules-7bb91031c6b244781f6637dc87dafa5835326888.zip |
- Merged @whereis from my server (displays normal spawn maps for given mobs). This command should be working correctly considering I've been using it since July. I was meant to merge it as soon as I got my hard-drive back, but I kinda forgot @_@
- bonus3 autospell (and autospell when hit) will change the target to self when the skill to be casted is inf&4 (self skill).
- Corrected script homevolution not making the homunculus /swt if it is invoked when not loyal.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11110 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index f3cec671a..01679708b 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3991,6 +3991,14 @@ void mob_reload(void) mob_readdb_race(); } +void mob_clear_spawninfo() +{ //Clears spawn related information for a script reload. + int i; + for (i = 0; i < MAX_MOB_DB; i++) + if (mob_db_data[i]) + memset(&mob_db_data[i]->spawn,0,sizeof(mob_db_data[i]->spawn)); +} + /*========================================== * Circumference initialization of mob *------------------------------------------*/ |