From e0f7bd4d57bf0c9b497c4d0bb73f7bd4d5cc0643 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 3 Apr 2011 19:50:54 +0300 Subject: Modified block mesh generation to have clearer input and output. Instead of being a messy object oriented cludge, it now is a messy cludge with separate parameters. --- src/utility.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utility.h') diff --git a/src/utility.h b/src/utility.h index 6e14a4bb2..89c5f9981 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1391,6 +1391,7 @@ public: } u32 size() { + JMutexAutoLock lock(m_mutex); return m_list.size(); } void push_back(T t) -- cgit v1.2.3