summaryrefslogtreecommitdiff
path: root/src/emap/map.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-26 17:51:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-26 17:51:52 +0300
commitc9673032ff9fb5b5c1a223432181d60184685d5a (patch)
treeca0137610ba9d08093fce187996921067a9725d4 /src/emap/map.c
parent2114f859d5b1d6984809494870f5266f53d662c7 (diff)
downloadevol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.gz
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.bz2
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.xz
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.zip
Remove useless casts after server update.
Diffstat (limited to 'src/emap/map.c')
-rw-r--r--src/emap/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/map.c b/src/emap/map.c
index e08d31f..8f5c54f 100644
--- a/src/emap/map.c
+++ b/src/emap/map.c
@@ -186,14 +186,14 @@ static int getWalkMask(const struct block_list *bl)
int walkMask = 0;
if (bl->type == BL_NPC)
{
- TBL_NPC *nd = (TBL_NPC*)bl;
+ TBL_NPC *nd = (TBL_NPC *)bl;
struct NpcdExt *ext = npcd_get(nd);
if (ext)
walkMask = ext->walkMask;
}
else if (bl->type == BL_MOB)
{
- TBL_MOB *md = (TBL_MOB*)bl;
+ TBL_MOB *md = (TBL_MOB *)bl;
struct MobdExt *ext = mobd_get_by_mob(md);
if (ext)
walkMask = ext->walkMask;