summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index dc4469350..7f9cc559b 100644
--- a/src/client.h
+++ b/src/client.h
@@ -572,6 +572,7 @@ public:
}
ClientScripting *getScript() { return m_script; }
+ const bool moddingEnabled() const { return m_modding_enabled; }
inline void pushToEventQueue(const ClientEvent &event)
{
@@ -722,6 +723,7 @@ private:
bool m_cache_use_tangent_vertices;
ClientScripting *m_script;
+ bool m_modding_enabled;
DISABLE_CLASS_COPY(Client);
};