diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-11 20:49:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-11 20:52:50 +0300 |
commit | e36c735ce6569cd9c0e668632e59bcbe3280d507 (patch) | |
tree | eb8fa3f8800d95bcd0c6b3c1ea314567f56debb4 /src/gui/itemamountwindow.cpp | |
parent | ffd452cd1ee7d252355c259ca2bae1d40c0e97e9 (diff) | |
download | mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.gz mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.bz2 mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.xz mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.zip |
Add chat command for gms for creating items.
New command: /createitems
It will open creation window.
Diffstat (limited to 'src/gui/itemamountwindow.cpp')
-rw-r--r-- | src/gui/itemamountwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemamountwindow.cpp b/src/gui/itemamountwindow.cpp index 3df003bfb..61760f6d3 100644 --- a/src/gui/itemamountwindow.cpp +++ b/src/gui/itemamountwindow.cpp @@ -53,7 +53,7 @@ public: ItemsModal() : mStrings() { - std::map<int, ItemInfo*> items = ItemDB::getItemInfos(); + const std::map<int, ItemInfo*> &items = ItemDB::getItemInfos(); std::list<std::string> tempStrings; for (std::map<int, ItemInfo*>::const_iterator |