summaryrefslogtreecommitdiff
path: root/src/gamedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamedef.h')
-rw-r--r--src/gamedef.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gamedef.h b/src/gamedef.h
index 3b5ad5cae..b378a1d6d 100644
--- a/src/gamedef.h
+++ b/src/gamedef.h
@@ -50,10 +50,15 @@ public:
// Used for keeping track of names/ids of unknown nodes
virtual u16 allocateUnknownNodeId(const std::string &name)=0;
-
+
+ // Only usable on the client
virtual ISoundManager* getSoundManager()=0;
virtual MtEventManager* getEventManager()=0;
+ // Used on the client
+ virtual bool checkLocalPrivilege(const std::string &priv)
+ { return false; }
+
// Shorthands
IItemDefManager* idef(){return getItemDefManager();}
INodeDefManager* ndef(){return getNodeDefManager();}