From 43bfd161a613d295355668e6f41c899399f906c2 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Fri, 27 Jan 2012 14:04:27 +0000
Subject: [PATCH] orders

git-svn-id: http://svn.net-core.org/repos/t-engine4@4814 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/uiset/Minimalist.lua | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/game/modules/tome/class/uiset/Minimalist.lua b/game/modules/tome/class/uiset/Minimalist.lua
index ad90411e03..6c40acc984 100644
--- a/game/modules/tome/class/uiset/Minimalist.lua
+++ b/game/modules/tome/class/uiset/Minimalist.lua
@@ -1047,7 +1047,11 @@ function _M:displayParty(scale, bx, by)
 					game.tooltip_x, game.tooltip_y = 1, 1; game:tooltipDisplayAtMap(game.w, game.h, text)
 
 					if event == "button" and button == "left" then
-						if def.control == "full" then game.party:select(a) end
+						if def.control == "full" then game.party:select(a)
+						elseif def.orders then game.party:giveOrders(a)
+						end
+					elseif event == "button" and button == "right" then
+						if def.orders then game.party:giveOrders(a) end
 					end
 				end
 
-- 
GitLab