summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index dfcca310..07701528 100644
--- a/src/player.h
+++ b/src/player.h
@@ -135,6 +135,12 @@ class Player : public Being
virtual unsigned char getWalkMask() const
{ return 0x82; } // blocked by walls and monsters (bin 1000 0010)
+ /**
+ * Called when a option (set with config.addListener()) is changed
+ */
+
+ void optionChanged(const std::string &value);
+
protected:
/**
* Gets the way the monster blocks pathfinding for other objects.