From f0347374605744b35fe1f2db6a766f0e0ddbb280 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Mon, 17 Jan 2011 01:04:11 +0000
Subject: [PATCH] plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@2407 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Store.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/class/Store.lua b/game/modules/tome/class/Store.lua
index 1d3a87a7ce..9dc32ec2fd 100644
--- a/game/modules/tome/class/Store.lua
+++ b/game/modules/tome/class/Store.lua
@@ -41,7 +41,7 @@ function _M:init(t, no_default)
 
 	if not self.store.actor_filter then
 		self.store.actor_filter = function(o)
-			return (o.type == "gem" or o.unique) and not o.quest and not o.lore
+			return (o.type == "gem" or o.unique) and not o.quest and not o.lore and o.cost and o.cost > 0
 		end
 	end
 end
-- 
GitLab