aboutsummaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index a9bd0a7c4..cbb50949c 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -111,6 +111,8 @@ public:
/*
*/
virtual void rightClick(Player *player){}
+
+ virtual bool isPeaceful(){return true;}
/*
Number of players which know about this object. Object won't be