summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-17 15:20:33 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-17 15:20:33 +0000
commit32eac40dc34fcab873a8c4ad8e5490ba2c831d6d (patch)
tree21deda5ff5b0a78f605154f508b5ae9d96c3e956 /src/map/battle.c
parent1e279e2478b89dd4cc5717f83aa9b86b99ef2048 (diff)
downloadhercules-32eac40dc34fcab873a8c4ad8e5490ba2c831d6d.tar.gz
hercules-32eac40dc34fcab873a8c4ad8e5490ba2c831d6d.tar.bz2
hercules-32eac40dc34fcab873a8c4ad8e5490ba2c831d6d.tar.xz
hercules-32eac40dc34fcab873a8c4ad8e5490ba2c831d6d.zip
Fixed Berserk
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@232 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index c0ba107e6..e1367cbc0 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1068,7 +1068,7 @@ int battle_get_dmotion(struct block_list *bl)
else
return 2000;
- if((sc_data && sc_data[SC_ENDURE].timer!=-1) ||
+ if((sc_data && (sc_data[SC_ENDURE].timer!=-1 || sc_data[SC_BERSERK].timer!=-1)) ||
(bl->type == BL_PC && ((struct map_session_data *)bl)->special_state.infinite_endure))
ret=0;