diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-09 23:08:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-09 23:08:16 +0300 |
commit | 248c845b6a09c436f3d8d69a859f1c34d91b7508 (patch) | |
tree | 93747da9c23e6849675f4ad15b12859fc7b6ed6b /src/resources/beinginfo.cpp | |
parent | 7e437604c8de0784f1343e6e8aa01612a194c466 (diff) | |
download | ManaVerse-248c845b6a09c436f3d8d69a859f1c34d91b7508.tar.gz ManaVerse-248c845b6a09c436f3d8d69a859f1c34d91b7508.tar.bz2 ManaVerse-248c845b6a09c436f3d8d69a859f1c34d91b7508.tar.xz ManaVerse-248c845b6a09c436f3d8d69a859f1c34d91b7508.zip |
load npc menu.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 5f1704b88..8b9d72376 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -214,3 +214,8 @@ std::string BeingInfo::getColor(const int idx) const return std::string(); return it->second.color; } + +void BeingInfo::addMenu(const std::string &name, const std::string &command) +{ + mMenu.push_back(BeingMenuItem(name, command)); +} |