summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-22 12:13:13 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-22 12:13:13 +0000
commit4c930b82911ecd24dfef47c7021fe7f6cfa1a3b1 (patch)
tree4b6aea786b93c649df5f0d69e9bce84de318489e /src
parent44cf5562e6386da823131af225ac902710c1ce8a (diff)
downloadhercules-4c930b82911ecd24dfef47c7021fe7f6cfa1a3b1.tar.gz
hercules-4c930b82911ecd24dfef47c7021fe7f6cfa1a3b1.tar.bz2
hercules-4c930b82911ecd24dfef47c7021fe7f6cfa1a3b1.tar.xz
hercules-4c930b82911ecd24dfef47c7021fe7f6cfa1a3b1.zip
- Ups. I forget this merge about Basilica (caster cannot walk).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13108 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index fb1fe0113..73b0f023d 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -739,6 +739,7 @@ int unit_can_move(struct block_list *bl)
(sc->data[SC_DANCING]->val1&0xFFFF) == CG_HERMODE
))
|| (sc->data[SC_GOSPEL] && sc->data[SC_GOSPEL]->val4 == BCT_SELF) // cannot move while gospel is in effect
+ || (sc->data[SC_BASILICA] && sc->data[SC_BASILICA]->val4 == bl->id) // Basilica caster cannot move
|| sc->data[SC_STOP]
|| sc->data[SC_CLOSECONFINE]
|| sc->data[SC_CLOSECONFINE2]