summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-10 12:43:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-10 12:43:12 +0300
commitb4de7c68b240dd1b63ac1b78feb0721977cdb171 (patch)
tree83a96195df384fd0a9535d3e477f76879934b6c9 /src/resources/beinginfo.cpp
parent248c845b6a09c436f3d8d69a859f1c34d91b7508 (diff)
downloadmv-b4de7c68b240dd1b63ac1b78feb0721977cdb171.tar.gz
mv-b4de7c68b240dd1b63ac1b78feb0721977cdb171.tar.bz2
mv-b4de7c68b240dd1b63ac1b78feb0721977cdb171.tar.xz
mv-b4de7c68b240dd1b63ac1b78feb0721977cdb171.zip
Add default npc menu items if missing in configuration.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 8b9d72376..ad10f5628 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -219,3 +219,8 @@ void BeingInfo::addMenu(const std::string &name, const std::string &command)
{
mMenu.push_back(BeingMenuItem(name, command));
}
+
+const std::vector<BeingMenuItem> &BeingInfo::getMenu() const
+{
+ return mMenu;
+}