From 74898a54247bed03dd4f5592a7da2cedbf8dd62a Mon Sep 17 00:00:00 2001 From: lethosor Date: Wed, 11 May 2016 17:54:37 -0400 Subject: [PATCH] createitem: move all created items to cursor if applicable --- NEWS.rst | 1 + plugins/createitem.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.rst b/NEWS.rst index 49b71e477..7571ec45a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -43,6 +43,7 @@ New Features Fixes ----- +- `createitem`: Now moves multiple created items to cursor correctly - `exportlegends`: Improved handling of unknown enum items (fixes many errors) - `gui/create-item`: Fixed quality when creating multiple items - `gui/mod-manager`: Fixed error when mods folder doesn't exist diff --git a/plugins/createitem.cpp b/plugins/createitem.cpp index 8f7b47107..156176bbe 100644 --- a/plugins/createitem.cpp +++ b/plugins/createitem.cpp @@ -128,7 +128,7 @@ bool makeItem (df::reaction_product_itemst *prod, df::unit *unit, bool second_it } } if ((is_gloves || is_shoes) && !second_item) - return makeItem(prod, unit, true); + return makeItem(prod, unit, true, move_to_cursor); return true; }