summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-11 20:49:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-11 20:52:50 +0300
commite36c735ce6569cd9c0e668632e59bcbe3280d507 (patch)
treeeb8fa3f8800d95bcd0c6b3c1ea314567f56debb4 /src/resources
parentffd452cd1ee7d252355c259ca2bae1d40c0e97e9 (diff)
downloadplus-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.gz
plus-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.bz2
plus-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.xz
plus-e36c735ce6569cd9c0e668632e59bcbe3280d507.zip
Add chat command for gms for creating items.
New command: /createitems It will open creation window.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index a7310036d..8e5551af3 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -568,7 +568,7 @@ const ItemInfo &ItemDB::get(const std::string &name)
return *(i->second);
}
-const std::map<int, ItemInfo*> &ItemDB::getItemInfos()
+const ItemDB::ItemInfos &ItemDB::getItemInfos()
{
return mItemInfos;
}