diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 10:27:05 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 10:27:05 +0000 |
commit | c0f2069689110d1df816d52e36d049d4b97a7a22 (patch) | |
tree | 79b5d2a9dbaff90eaf32470e1fd586f8c7ad43aa /src/map/mob.h | |
parent | f51be442a0990eb5755e10346abaeb94404af2b1 (diff) | |
download | hercules-c0f2069689110d1df816d52e36d049d4b97a7a22.tar.gz hercules-c0f2069689110d1df816d52e36d049d4b97a7a22.tar.bz2 hercules-c0f2069689110d1df816d52e36d049d4b97a7a22.tar.xz hercules-c0f2069689110d1df816d52e36d049d4b97a7a22.zip |
- Fixed a bunch of invalid memory access bugs as reported by Valgrind.
- Updated unit_stop_walking to not move character an extra cell when it is already half-way there unless flag 0x4 is passed. (bugreport:3078)
- Fixed the monster MD_CASTSENSOR code not correctly setting the monster's aggressive state.
- Corrected a few compiler warnings
- Changed a bit the code for SC_BOSSMAPINFO so it is not so hideously ugly.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13774 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 92565b6c0..0ea82abcd 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -254,7 +254,7 @@ int mob_countslave(struct block_list *bl); int mob_is_clone(int class_); int mob_clone_spawn(struct map_session_data *sd, int m, int x, int y, const char *event, int master_id, int mode, int flag, unsigned int duration); -int mob_clone_delete(int class_); +int mob_clone_delete(struct mob_data *md); void mob_reload(void); |