summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-30 23:45:09 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-30 23:45:09 +0000
commit2d7d9fc43fde3605f7c0b2c7eeae86b544440a07 (patch)
tree7b57b58d195d6c9ca455e400febb3675dc44a426 /src/map/status.c
parent48b0ecb47ab3a8a59f881fba26ee3a4ee10095e8 (diff)
downloadhercules-2d7d9fc43fde3605f7c0b2c7eeae86b544440a07.tar.gz
hercules-2d7d9fc43fde3605f7c0b2c7eeae86b544440a07.tar.bz2
hercules-2d7d9fc43fde3605f7c0b2c7eeae86b544440a07.tar.xz
hercules-2d7d9fc43fde3605f7c0b2c7eeae86b544440a07.zip
- Call Slave now invokes slaves on a 5x5 area around master.
- AL_TELEPORT will fail when used by slave mobs. - Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable attacks. - slaves inherit speed setting will now work regardless of whether the slave or master has the MD_CANMOVE mode bit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6865 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 9b1e43268..6d80712cd 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1052,7 +1052,7 @@ int status_calc_mob(struct mob_data* md, int first)
if (flag&8 && mbl) {
struct status_data *mstatus = status_get_base_status(mbl);
- if (mstatus && mstatus->mode&MD_CANMOVE && status->mode&MD_CANMOVE)
+ if (mstatus)
status->speed = mstatus->speed;
}