summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authormeko <mekolat@users.noreply.github.com>2015-07-04 23:39:28 -0400
committermeko <mekolat@users.noreply.github.com>2015-07-04 23:39:28 -0400
commit46920c5a712bfababc01c986469102bbdb07a5fb (patch)
tree10ca5717c9f1d0f7e05a994498280729a093da98 /src/map
parentd1e98ce4d23c5a2b423ab5ce95c1ec0a9e50f553 (diff)
downloadtmwa-46920c5a712bfababc01c986469102bbdb07a5fb.tar.gz
tmwa-46920c5a712bfababc01c986469102bbdb07a5fb.tar.bz2
tmwa-46920c5a712bfababc01c986469102bbdb07a5fb.tar.xz
tmwa-46920c5a712bfababc01c986469102bbdb07a5fb.zip
important bug fix
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 0c73b59..97b9e2e 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -211,7 +211,7 @@ int map_delblock(dumb_ptr<block_list> bl)
return 0;
}
- if (bl->bl_type == BL::PC)
+ if (bl->bl_type == BL::PC && !bool(bl->is_player()->status.option & Opt0::HIDE))
bl->bl_m->users--;
if (bl->bl_next)