From e36c735ce6569cd9c0e668632e59bcbe3280d507 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Jul 2013 20:49:20 +0300 Subject: Add chat command for gms for creating items. New command: /createitems It will open creation window. --- src/gui/itemamountwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/itemamountwindow.cpp') 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 items = ItemDB::getItemInfos(); + const std::map &items = ItemDB::getItemInfos(); std::list tempStrings; for (std::map::const_iterator -- cgit v1.2.3-70-g09d2