summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-05-22 22:51:51 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-05-22 22:51:51 -0700
commitcce12d0d059b3328ad74446b389445bd43e0a90b (patch)
treeb381c7aa8424870e1cf88470972597b25dfe4c68 /src/map/clif.cpp
parent10e0b85e0325e5e85f9c4b9e7fe6db02171134ee (diff)
downloadtmwa-cce12d0d059b3328ad74446b389445bd43e0a90b.tar.gz
tmwa-cce12d0d059b3328ad74446b389445bd43e0a90b.tar.bz2
tmwa-cce12d0d059b3328ad74446b389445bd43e0a90b.tar.xz
tmwa-cce12d0d059b3328ad74446b389445bd43e0a90b.zip
RAII-ify some arrays of block_list
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r--src/map/clif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index 4e70418..eb1283e 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -612,7 +612,7 @@ void clif_clearchar_delay_sub(TimerData *, tick_t,
struct block_list *bl, BeingRemoveWhy type)
{
clif_clearchar(bl, type);
- map_freeblock(bl);
+ MapBlockLock::freeblock(bl);
}
int clif_clearchar_delay(tick_t tick,